Skip to main content
POST
Finish connecting your books
Send the code and state the vendor put on the return address — and, from QuickBooks, its realmId — in the body, never in a URL. The state is spent on first use, whatever follows, and must have been issued to you in this organisation. The tokens are stored in the saved connection, sealed, and never returned; the refresh token is stored again each time the vendor rotates it. For Xero, the organisation is read from the app’s connections: exactly one must be there. It needs credential.manage — Owner or Admin — and a signed-in person.
AI employees are in beta. 404 as for Start connecting your books.

Body

string
required
What the vendor sent back as code.
string
required
What the vendor sent back as state.
string
QuickBooks only: what it sent back as realmId.

Response

201 with the saved connection, as Connections lists it. The tokens are not in it.
Last modified on November 12, 2026