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
Host: sentry.io
Authorization: Bearer <token>
HTTP/1.1 200 OK
Content-Length: 3003
X-XSS-Protection: 1; mode=block
Content-Language: en
X-Content-Type-Options: nosniff
Vary: Accept-Language, Cookie
Allow: GET, PUT, DELETE, HEAD, OPTIONS
X-Frame-Options: deny
Content-Type: application/json

{
  "access": [], 
  "allowSharedIssues": true, 
  "availableRoles": [
    {
      "id": "member", 
      "name": "Member"
    }, 
    {
      "id": "admin", 
      "name": "Admin"
    }, 
    {
      "id": "manager", 
      "name": "Manager"
    }, 
    {
      "id": "owner", 
      "name": "Owner"
    }
  ], 
  "avatar": {
    "avatarType": "letter_avatar", 
    "avatarUuid": null
  }, 
  "dataScrubber": false, 
  "dataScrubberDefaults": false, 
  "dateCreated": "2018-11-06T21:19:55.101Z", 
  "defaultRole": "member", 
  "enhancedPrivacy": false, 
  "experiments": {}, 
  "features": [
    "new-teams", 
    "shared-issues", 
    "new-issue-ui", 
    "repos", 
    "open-membership", 
    "invite-members", 
    "sso-saml2", 
    "sso-basic", 
    "suggested-commits"
  ], 
  "id": "2", 
  "isDefault": false, 
  "isEarlyAdopter": false, 
  "name": "The Interstellar Jurisdiction", 
  "onboardingTasks": [
    {
      "data": {}, 
      "dateCompleted": "2018-11-06T21:20:08.089Z", 
      "status": "complete", 
      "task": 1, 
      "user": ""
    }
  ], 
  "openMembership": true, 
  "pendingAccessRequests": 0, 
  "projects": [
    {
      "dateCreated": "2018-11-06T21:19:58.536Z", 
      "firstEvent": null, 
      "hasAccess": true, 
      "id": "3", 
      "isBookmarked": false, 
      "isMember": true, 
      "latestDeploys": null, 
      "name": "Prime Mover", 
      "platform": null, 
      "platforms": [], 
      "slug": "prime-mover", 
      "team": {
        "id": "2", 
        "name": "Powerful Abolitionist", 
        "slug": "powerful-abolitionist"
      }, 
      "teams": [
        {
          "id": "2", 
          "name": "Powerful Abolitionist", 
          "slug": "powerful-abolitionist"
        }
      ]
    }, 
    {
      "dateCreated": "2018-11-06T21:19:55.121Z", 
      "firstEvent": null, 
      "hasAccess": true, 
      "id": "2", 
      "isBookmarked": false, 
      "isMember": true, 
      "latestDeploys": null, 
      "name": "Pump Station", 
      "platform": null, 
      "platforms": [], 
      "slug": "pump-station", 
      "team": {
        "id": "2", 
        "name": "Powerful Abolitionist", 
        "slug": "powerful-abolitionist"
      }, 
      "teams": [
        {
          "id": "2", 
          "name": "Powerful Abolitionist", 
          "slug": "powerful-abolitionist"
        }
      ]
    }, 
    {
      "dateCreated": "2018-11-06T21:20:08.064Z", 
      "firstEvent": null, 
      "hasAccess": true, 
      "id": "4", 
      "isBookmarked": false, 
      "isMember": true, 
      "latestDeploys": null, 
      "name": "The Spoiled Yoghurt", 
      "platform": null, 
      "platforms": [], 
      "slug": "the-spoiled-yoghurt", 
      "team": {
        "id": "2", 
        "name": "Powerful Abolitionist", 
        "slug": "powerful-abolitionist"
      }, 
      "teams": [
        {
          "id": "2", 
          "name": "Powerful Abolitionist", 
          "slug": "powerful-abolitionist"
        }
      ]
    }
  ], 
  "quota": {
    "accountLimit": 0, 
    "maxRate": 0, 
    "maxRateInterval": 60, 
    "projectLimit": 100
  }, 
  "require2FA": false, 
  "safeFields": [], 
  "scrapeJavaScript": true, 
  "scrubIPAddresses": false, 
  "sensitiveFields": [], 
  "slug": "the-interstellar-jurisdiction", 
  "status": {
    "id": "active", 
    "name": "active"
  }, 
  "storeCrashReports": false, 
  "teams": [
    {
      "avatar": {
        "avatarType": "letter_avatar", 
        "avatarUuid": null
      }, 
      "dateCreated": "2018-11-06T21:20:08.115Z", 
      "hasAccess": true, 
      "id": "3", 
      "isMember": true, 
      "isPending": false, 
      "memberCount": 1, 
      "name": "Ancient Gabelers", 
      "slug": "ancient-gabelers"
    }, 
    {
      "avatar": {
        "avatarType": "letter_avatar", 
        "avatarUuid": null
      }, 
      "dateCreated": "2018-11-06T21:19:55.114Z", 
      "hasAccess": true, 
      "id": "2", 
      "isMember": true, 
      "isPending": false, 
      "memberCount": 1, 
      "name": "Powerful Abolitionist", 
      "slug": "powerful-abolitionist"
    }
  ], 
  "trustedRelays": []
}