Sentry External Users API

Manage external user mappings

Operations 3

POST /organizations/{organization_id_or_slug}/external-users/ Sentry Create an external user #
PUT /organizations/{organization_id_or_slug}/external-users/{external_user_id}/ Sentry Update an external user #
DELETE /organizations/{organization_id_or_slug}/external-users/{external_user_id}/ Sentry Delete an external user #

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/sentry-system-external-users-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

sentry-system-external-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sentry Alerts External Users API
  description: The Alerts API provides endpoints for managing alert rules in Sentry, including creating, retrieving, updating, and deleting metric alert rules and issue alert rules, as well as managing spike protection notification actions.
  version: 0.0.1
  contact:
    name: Sentry Support
    url: https://sentry.io/support/
    email: support@sentry.io
servers:
- url: https://sentry.io/api/0
  description: Sentry Production API
security:
- BearerAuth: []
tags:
- name: External Users
  description: Manage external user mappings
paths:
  /organizations/{organization_id_or_slug}/external-users/:
    post:
      operationId: createExternalUser
      summary: Sentry Create an external user
      description: Creates a mapping between a Sentry user and an external service user.
      tags:
      - External Users
      parameters:
      - $ref: '#/components/parameters/OrganizationIdOrSlug'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - externalName
              - provider
              - memberId
              properties:
                externalName:
                  type: string
                  description: The external service username.
                provider:
                  type: string
                  description: The integration provider (e.g., github, gitlab).
                memberId:
                  type: integer
                  description: The Sentry member ID.
                integrationId:
                  type: integer
                  description: The integration ID.
      responses:
        '201':
          description: External user created.
        '400':
          description: Bad request.
        '401':
          description: Unauthorized.
  /organizations/{organization_id_or_slug}/external-users/{external_user_id}/:
    put:
      operationId: updateExternalUser
      summary: Sentry Update an external user
      description: Updates an external user mapping.
      tags:
      - External Users
      parameters:
      - $ref: '#/components/parameters/OrganizationIdOrSlug'
      - name: external_user_id
        in: path
        required: true
        description: The ID of the external user.
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                externalName:
                  type: string
                provider:
                  type: string
      responses:
        '200':
          description: External user updated.
        '401':
          description: Unauthorized.
        '404':
          description: Not found.
    delete:
      operationId: deleteExternalUser
      summary: Sentry Delete an external user
      description: Deletes an external user mapping.
      tags:
      - External Users
      parameters:
      - $ref: '#/components/parameters/OrganizationIdOrSlug'
      - name: external_user_id
        in: path
        required: true
        description: The ID of the external user.
        schema:
          type: string
      responses:
        '204':
          description: External user deleted.
        '401':
          description: Unauthorized.
        '404':
          description: Not found.
components:
  parameters:
    OrganizationIdOrSlug:
      name: organization_id_or_slug
      in: path
      required: true
      description: The ID or slug of the organization.
      schema:
        type: string
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Authentication token for the Sentry API.