POST
/
v0
/
quickbooks
/
auth-link
curl --request POST \
  --url https://api.sandbox.teal.dev/v0/quickbooks/auth-link \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'teal-instance-id: <teal-instance-id>' \
  --data '{
  "redirect_url": "https://example.com/redirect"
}'
{
  "url": "https://example.com/authorize"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

teal-instance-id
string
required

The Teal instance ID

Body

application/json
redirect_url
string
required

The URL the user will be redirected to after completing the authorization flow.

Response

201
application/json
Successful Response
url
string
required

The URL the user will be redirected to in order to complete the authorization flow.