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: 2419
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",
    "open-membership",
    "shared-issues"
  ],
  "safeFields": [],
  "id": "2",
  "isEarlyAdopter": false,
  "scrubIPAddresses": false,
  "access": [],
  "allowSharedIssues": true,
  "isDefault": false,
  "require2FA": false,
  "sensitiveFields": [],
  "quota": {
    "maxRateInterval": 60,
    "projectLimit": 100,
    "accountLimit": 0,
    "maxRate": 0
  },
  "dateCreated": "2018-02-20T15:27:19.783Z",
  "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-02-20T15:27:31.956Z",
      "isMember": false,
      "id": "3",
      "projects": []
    },
    {
      "slug": "powerful-abolitionist",
      "name": "Powerful Abolitionist",
      "hasAccess": true,
      "isPending": false,
      "dateCreated": "2018-02-20T15:27:19.809Z",
      "isMember": false,
      "id": "2",
      "projects": [
        {
          "status": "active",
          "slug": "prime-mover",
          "features": [
            "data-forwarding",
            "rate-limits",
            "releases"
          ],
          "color": "#bf5b3f",
          "isInternal": false,
          "isPublic": false,
          "dateCreated": "2018-02-20T15:27:23.461Z",
          "platform": null,
          "callSign": "PRIME-MOVER",
          "firstEvent": null,
          "isBookmarked": false,
          "id": "3",
          "name": "Prime Mover"
        },
        {
          "status": "active",
          "slug": "pump-station",
          "features": [
            "data-forwarding",
            "rate-limits",
            "releases"
          ],
          "color": "#3fbf7f",
          "isInternal": false,
          "isPublic": false,
          "dateCreated": "2018-02-20T15:27:19.818Z",
          "platform": null,
          "callSign": "PUMP-STATION",
          "firstEvent": null,
          "isBookmarked": false,
          "id": "2",
          "name": "Pump Station"
        },
        {
          "status": "active",
          "slug": "the-spoiled-yoghurt",
          "features": [
            "data-forwarding",
            "rate-limits"
          ],
          "color": "#bf6e3f",
          "isInternal": false,
          "isPublic": false,
          "dateCreated": "2018-02-20T15:27:31.893Z",
          "platform": null,
          "callSign": "THE-SPOILED-YOGHURT",
          "firstEvent": null,
          "isBookmarked": false,
          "id": "4",
          "name": "The Spoiled Yoghurt"
        }
      ]
    }
  ],
  "pendingAccessRequests": 0,
  "dataScrubberDefaults": false,
  "dataScrubber": false,
  "avatar": {
    "avatarUuid": null,
    "avatarType": "letter_avatar"
  },
  "onboardingTasks": [
    {
      "status": "complete",
      "dateCompleted": "2018-02-20T15:27:31.938Z",
      "task": 1,
      "data": {},
      "user": null
    }
  ]
}