Skip to main content
POST
OAuth Authorization URL Builder

Authorizations

Authorization
string
header
required

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

Body

application/json
ioClientId
string
required

Client ID

ioRedirectUri
string
required

Redirect URI

ioProvider
enum<string>

Provider

Available options:
google,
github,
microsoft,
okta,
custom
ioAuthEndpoint
string

Authorization Endpoint

ioResponseType
enum<string>

Response Type

Available options:
code,
token,
id_token,
code id_token
ioScopes
string

Scopes

ioUsePkce
boolean

Add PKCE (code_challenge)

ioPkceMethod
enum<string>

PKCE Method

Available options:
S256,
plain
ioCodeVerifierOverride
string

Code Verifier (optional override)

ioUseState
boolean

Add state parameter (CSRF protection)

ioStateOverride
string

State (optional override)

ioUseNonce
boolean

Add nonce parameter (OpenID Connect)

ioNonceOverride
string

Nonce (optional override)

ioExtraParams
string

Extra Parameters

Response

Tool output

tool
string
required
tool_version
string
required

Output-contract version for this tool. Currently "1" for all tools.

outputs
object
required
credits_used
integer
required

Credits this call consumed, after any settlement refund. 0 when metering is disabled.

request_id
string
credits_remaining
integer | null

Credits left in the current monthly allowance, or null when metering is disabled.