Retrieve an Integration for an Organization

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

OrganizationIntegrationBaseEndpoints expect both Integration and OrganizationIntegration DB entries to exist for a given organization and integration_id.

Path Parameters

organization_id_or_slug (string)
REQUIRED

The ID or slug of the organization the resource belongs to.

integration_id (string)
REQUIRED

The ID of the integration installed on the organization.

Scopes

<auth_token> requires one of the following scopes:
  • org:admin
  • org:integrations
  • org:read
  • org:write
Copied
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/integrations/{integration_id}/ \
 -H 'Authorization: Bearer <auth_token>'
RESPONSESCHEMA
Copied
{ "id": "24817", "name": "Alphabet Soup Factory", "icon": "https://avatars.slack-edge.com/alphabet-soup", "domainName": "alphabet-soup.slack.com", "accountType": null, "scopes": [ "channels:read", "chat:write", "chat:write.customize", "chat:write.public", "commands", "groups:read", "im:history", "im:read", "links:read", "links:write", "team:read", "users:read" ], "status": "active", "provider": { "key": "slack", "slug": "slack", "name": "Slack", "canAdd": true, "canDisable": false, "features": [ "alert-rule", "chat-unfurl" ], "aspects": { "alerts": [ { "type": "info", "text": "The Slack integration adds a new Alert Rule action to all projects. To enable automatic notifications sent to Slack you must create a rule using the slack workspace action in your project settings." } ] } }, "configOrganization": [], "configData": { "installationType": "born_as_bot" }, "externalId": "7252394", "organizationId": 6234528, "organizationIntegrationStatus": "active", "gracePeriodEnd": null }