Retrieve an Organization

GET /api/0/organizations/{organization_slug}/

Return details on an individual organization including various details such as membership access, features, and teams.

Path Parameters:organization_slug (string) – the slug of the organization the team should be created for.
Authentication:required
Method:GET
Path:/api/0/organizations/{organization_slug}/

Example

GET /api/0/organizations/the-interstellar-jurisdiction/ HTTP/1.1
Authorization: Basic ___ENCODED_API_KEY___
Host: app.getsentry.com
HTTP/1.1 200 OK
Allow: GET, PUT, DELETE, HEAD, OPTIONS
Content-Language: en
Content-Length: 2316
Content-Type: application/json
Vary: Accept-Language, Cookie
X-Content-Type-Options: nosniff
X-Frame-Options: deny
X-Xss-Protection: 1; mode=block

{
  "defaultRole": "member",
  "status": {
    "id": "active",
    "name": "active"
  },
  "features": [
    "sso",
    "api-keys",
    "repos",
    "open-membership",
    "shared-issues"
  ],
  "safeFields": [],
  "id": "2",
  "isEarlyAdopter": false,
  "scrubIPAddresses": false,
  "access": [],
  "allowSharedIssues": true,
  "projects": [
    {
      "name": "Prime Mover",
      "hasAccess": true,
      "isBookmarked": false,
      "isMember": false,
      "team": {
        "slug": "powerful-abolitionist",
        "id": "2",
        "name": "Powerful Abolitionist"
      },
      "id": "3",
      "teams": [
        {
          "slug": "powerful-abolitionist",
          "id": "2",
          "name": "Powerful Abolitionist"
        }
      ],
      "slug": "prime-mover"
    },
    {
      "name": "Pump Station",
      "hasAccess": true,
      "isBookmarked": false,
      "isMember": false,
      "team": {
        "slug": "powerful-abolitionist",
        "id": "2",
        "name": "Powerful Abolitionist"
      },
      "id": "2",
      "teams": [
        {
          "slug": "powerful-abolitionist",
          "id": "2",
          "name": "Powerful Abolitionist"
        }
      ],
      "slug": "pump-station"
    },
    {
      "name": "The Spoiled Yoghurt",
      "hasAccess": true,
      "isBookmarked": false,
      "isMember": false,
      "team": {
        "slug": "powerful-abolitionist",
        "id": "2",
        "name": "Powerful Abolitionist"
      },
      "id": "4",
      "teams": [
        {
          "slug": "powerful-abolitionist",
          "id": "2",
          "name": "Powerful Abolitionist"
        }
      ],
      "slug": "the-spoiled-yoghurt"
    }
  ],
  "isDefault": false,
  "require2FA": false,
  "sensitiveFields": [],
  "quota": {
    "maxRateInterval": 60,
    "projectLimit": 100,
    "accountLimit": 0,
    "maxRate": 0
  },
  "dateCreated": "2018-05-22T17:38:05.304Z",
  "slug": "the-interstellar-jurisdiction",
  "openMembership": true,
  "availableRoles": [
    {
      "id": "member",
      "name": "Member"
    },
    {
      "id": "admin",
      "name": "Admin"
    },
    {
      "id": "manager",
      "name": "Manager"
    },
    {
      "id": "owner",
      "name": "Owner"
    }
  ],
  "name": "The Interstellar Jurisdiction",
  "enhancedPrivacy": false,
  "teams": [
    {
      "slug": "ancient-gabelers",
      "name": "Ancient Gabelers",
      "hasAccess": true,
      "isPending": false,
      "dateCreated": "2018-05-22T17:38:22.885Z",
      "isMember": false,
      "id": "3"
    },
    {
      "slug": "powerful-abolitionist",
      "name": "Powerful Abolitionist",
      "hasAccess": true,
      "isPending": false,
      "dateCreated": "2018-05-22T17:38:05.332Z",
      "isMember": false,
      "id": "2"
    }
  ],
  "pendingAccessRequests": 0,
  "dataScrubberDefaults": false,
  "dataScrubber": false,
  "avatar": {
    "avatarUuid": null,
    "avatarType": "letter_avatar"
  },
  "onboardingTasks": [
    {
      "status": "complete",
      "dateCompleted": "2018-05-22T17:38:22.861Z",
      "task": 1,
      "data": {},
      "user": null
    }
  ]
}