Retrieve an Organization

GET /api/0/organizations/{organization_id_or_slug}/

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

Path Parameters

organization_id_or_slug (string)
REQUIRED

The id or slug of the organization to look up.

Scopes

<auth_token> requires one of the following scopes:
  • org: read
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/ \
 -H 'Authorization: Bearer <auth_token>'
RESPONSESCHEMA
{
  "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": 0,
  "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": []
}