Sentry External Users API

Manage external user mappings

Operations 3

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /organizations/{organization_id_or_slug}/external-users/ Map a member to an external service user · Sentry Create an external user #
Ask an LLM
“How do I link a Sentry member to their username in an external tool?”
“What does an external user mapping require?”
Tell an agent
Map member {memberId} in {org} to external user {externalName} on {provider}.
Link member {memberId} to {externalName} through integration {integrationId}.
PUT /organizations/{organization_id_or_slug}/external-users/{external_user_id}/ Update an external user mapping · Sentry Update an external user #
Ask an LLM
“Can I correct the external username a member is mapped to?”
“How do I change which provider an external user mapping uses?”
Tell an agent
Change external user mapping {external_user_id} in {org} to name {externalName}.
Set external user {external_user_id} provider to {provider}.
DELETE /organizations/{organization_id_or_slug}/external-users/{external_user_id}/ Remove an external user mapping · Sentry Delete an external user #
Ask an LLM
“How do I unlink a member from their external account?”
“Is removing an external user mapping safe for the member's Sentry access?”
Tell an agent destructive · confirm first
Delete external user mapping {external_user_id} from {org}.
Remove external user link {external_user_id}.

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: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 Integrations External Users API
  description: The Integrations API provides endpoints for managing third-party integrations within Sentry organizations, including creating and managing data forwarders, handling external user and team records, and controlling integration configurations.
  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.