freshbooks_auth_exchange
Exchange a FreshBooks authorization code for a refresh token. Provide the code or the entire redirect URL; if it fails, generate a new code from the authorization URL.
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. |