OAuth2 token endpoint (RFC 6749 /)
Exchanges an authorization code for a token pair, or rotates a refresh token. The confidential client authenticates via client_secret_basic (HTTP Basic) OR client_secret_post (form fields). Authorization codes are single-use; refresh tokens rotate on every use and REUSE of a spent refresh token revokes the whole token family. Errors use the RFC 6749 shape.
Authorizations
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
authorization_code, refresh_token authorization_code grant.
authorization_code grant; must match the request.
PKCE verifier (when the code carried a challenge).
refresh_token grant.
client_secret_post auth.
client_secret_post auth.