Skip to main content
GET
Authorize an OAuth connector

Authorizations

Authorization
string
header
required

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

Path Parameters

provider
string
required

Query Parameters

scopes
string

Comma-separated scopes to request. Replaces the default scope set for this authorization URL.

Example:

"chat:write,channels:read"

add_scopes
string

Comma-separated scopes to add to any scopes already granted for this provider.

Example:

"reactions:write,files:read"

redirect_uri
string

OAuth callback URI. Defaults to the Sprites API callback for the provider.

Example:

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

state
string

Optional state value. If omitted, Sprites generates one that ties the callback to the organization.

Example:

"opaque-state"

Response

Success

OAuth authorization response

authorize_url
string
required

Provider URL where the user grants access.

Example:

"https://slack.com/oauth/v2/authorize?client_id=..."

state
string
required

State value that must be sent back to the callback.

Example:

"opaque-state"