Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Flowyte secret API key (Authorization: Bearer flowyte_sk_live_…). Scope-gated; is scoped to your organization — a key can never reach another tenant. The listed scopes in each operation's apiKey requirement are the scopes that key must hold. The tokenUrl is nominal: keys are minted in the dashboard.

Body

application/json
clientId
string
required

The registered OAuth client id.

redirectUri
string
required

Must EXACTLY match a registered redirect URI.

state
string
required

Opaque CSRF value echoed back to the client.

orgId
string
required

The org to authorize; must equal the caller's active org.

approve
boolean
required

true to grant

scope
string

Space-separated requested scopes (subset of the client max).

codeChallenge
string

Optional PKCE challenge (S256).

codeChallengeMethod
enum<string>

PKCE method; S256 only.

Available options:
S256

Response

The browser should be sent to redirectTo.

data
object
success
boolean