Slack OAuth
Claim Slack workspace connection
Requires the authenticated user to match the user that started the install, atomically consumes the one-time ticket, and persists the workspace connection. The bot token stays server-held.
post/v1/slack-oauth/claim
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /v1/slack-oauth/claim
- Auth: HTTP bearer
Request body
Example request
{
"session": "state_abc123"
}Response
Connected workspace metadata.
Example response
{
"botUserId": "U0BOT",
"connected": true,
"scope": "channels:history,channels:read",
"teamId": "T0EXAMPLE",
"teamName": "Acme"
}Changes
No operation changes recorded.