Skip to main content
POST
Complete OAuth authorization

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

provider
string
required

Body

application/json

OAuth callback request

code
string
required

Authorization code returned by the provider.

Example:

"oauth-code"

access_policy
object

Initial access policy. Empty or missing policies deny sprite use until updated.

Example:
redirect_uri
string

Redirect URI used to create the authorization URL.

Example:

"https://api.sprites.dev/v1/oauth/slack/callback"

state
string

State value from the authorize response.

Example:

"opaque-state"

Response

Created

Connector response

connection
object
required

Sanitized connector. Secrets and encrypted token fields are never returned.

Example: