POST
/
auth
/
token
cURL
curl --request POST \
  --url https://api.trychart.com/auth/token \
  --header 'Content-Type: application/json' \
  --data '{
  "client_id": "<string>",
  "client_secret": "<string>",
  "code": "<string>",
  "redirect_uri": "<string>"
}'
{
  "taxpayer_id": "<string>",
  "provider_id": "turbotax",
  "access_token": "<string>"
}
Exchange the authorization code for an access token

Headers

x-chart-async
enum<string>

When set to 'true', the API returns immediately after pulling documents from the provider without waiting for parsing to complete. You must wait for taxpayer_status to change to COMPLETED via webhooks before accessing parsed JSON data.

Available options:
true

Body

application/json

Response

200
application/json

Token Response

The response is of type object.