Auth Service (v2)
Import Oauth Token
Persist a directly-obtained OAuth token (no authorization-code exchange).
The Slack managed-install flow receives a bot token inline from apps.managedInstall instead of through the browser OAuth redirect. This stores it (Fernet-encrypted at rest, via create_oauth_token) for the caller's org/user against an existing provider. Requiring the provider to already exist in the caller's org scopes the write and blocks cross-org token creation. The token value is never logged or returned.
post/v2/auth/tokens/import
Request
- The document declares no server URL.
- Auth
- API key in header X-API-Key
- or API key in header X-Tenant-Id
- or HTTP bearer
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.