freshbooks_auth_exchange
Exchange a FreshBooks authorization code for a refresh token using the redirect URL or bare code. Since codes are single-use, obtain a new code if exchange fails.
Instructions
Exchange a FreshBooks authorization code for a refresh token. Accepts the whole redirect URL you landed on, or the bare code. The authorization code is SINGLE-USE — if this fails, get a new one from freshbooks_auth_url rather than retrying.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The ?code= value, or the entire redirect URL you were sent to after approving. |