Users

Lookup user by Slack UID

Find a user ID by their Slack User ID. Requires an active Admin API Key supplied via the Authorization Bearer header (the api_key query param is NOT accepted for this endpoint). During migration, STATS_API_KEY is also accepted when the allow_legacy_stats_api_key Flipper flag is enabled.

get/api/v1/users/lookup_slack_uid/{slack_uid}

Path parameters

slack_uidstring required

Slack User ID (e.g. U123456)

Response

successful

user_idinteger
slack_uidstring

Example response

{
  "user_id": 42,
  "slack_uid": "U0266FRGP"
}

Changes

Changed in 2 of the 27 revisions of this API.6

    • the endpoint scheme security Bearer was added to the API

      api-security-added

    • the endpoint scheme security Bearer AND ApiKeyAuth was removed from the API

      api-security-removed

    • added the non-success response with the status 401

      response-non-success-status-added

    This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the endpoint scheme security Bearer AND ApiKeyAuth was added to the API

      api-security-added

    • the endpoint scheme security Bearer was removed from the API

      api-security-removed

    • removed the non-success response with the status 401

      response-non-success-status-removed

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog