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": "<string>",
  "permission_level": "write"
}'
{
  "url": "https://example.com/authorize"
}

Authorizations

Authorization
string
headerrequired

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
permission_level
enum<string>

Determines the permission granted by the customer to your app. Use read if you only want to display information from QuickBooks in Teal. Use write if you intend to create transactions for the Instance.

Available options:
read,
write

Response

201 - application/json
url
string
required

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