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.
Path parameters
Slack User ID (e.g. U123456)
Response
successful
Example response
{
"user_id": 42,
"slack_uid": "U0266FRGP"
}Changes
Changed in 2 of the 27 revisions of this API.6
- ○
the endpoint scheme security
Bearerwas added to the APIapi-security-added
- ○
the endpoint scheme security
Bearer AND ApiKeyAuthwas removed from the APIapi-security-removed
- ○
added the non-success response with the status
401response-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 ApiKeyAuthwas added to the APIapi-security-added
- ○
the endpoint scheme security
Bearerwas removed from the APIapi-security-removed
- ○
removed the non-success response with the status
401response-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
- ○