v1

latestOpenAPI 3.0.3Apache 2.02026-07-142201861.5 MB
Integrations

Create an External User

Link a user from an external provider to a Sentry user.

post/api/0/organizations/{organization_id_or_slug}/external-users/

Path parameters

organization_id_or_slugstring required

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

Request body

user_idinteger required

The user ID in Sentry.

external_namestring required

The associated name for the provider.

provider'github' | 'github_enterprise' | 'jira_server' | 'slack' | 'slack_staging' | 'perforce' | 'gitlab' | 'msteams' | 'custom_scm' required

The provider of the external actor.

  • github
  • github_enterprise
  • jira_server
  • slack
  • slack_staging
  • perforce
  • gitlab
  • msteams
  • custom_scm
integration_idinteger required

The Integration ID.

idinteger required

The external actor ID.

external_idstring nullable

The associated user ID for provider.

Response

externalIdstring
userIdstring
teamIdstring
idstring required
providerstring required
externalNamestring required
integrationIdstring required