Skip to main content
POST
/
v0
/
quickbooks
/
auth-link
Create a 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": "<string>"
}
'
{
  "url": "<string>"
}

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

Successful Response

url
string
required

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