Skip to main content
POST
TypeScript (SDK)

Authorizations

tql_api_key
string
header
required

Headers

Connect-Protocol-Version
enum<number>
default:1
required

Define the version of the Connect protocol

Available options:
1
Connect-Timeout-Ms
number

Define the timeout, in ms

Body

application/json
ref
ref · object
state
string

Caller-generated CSRF state. Validate the returned state before exchanging.

redirectUri
string

Callback registered with the provider. Requires HTTPS, except for loopback HTTP callbacks. Omit to use the TextQL UI callback. Pass the same URI to ExchangeApiOAuthCode.

Response

Success

oauthUrl
string
codeVerifier
string