iotoms Docs

Handle the accounting sign-in callback

GET
/api/v1/integrations/accounting/connectors/{provider}/callback

Redirect target the accounting provider calls after the user grants or denies access. It exchanges the authorization code for access and redirects the browser back to the dashboard. Needs no auth headers; not meant to be called directly.

Authorization

BearerAuth
headerAuthorizationBearer <JWT>

Path Parameters

provider*string

Accounting connector slug the sign-in was started for, for example zoho-books.

Query Parameters

code?string

Authorization code sent by the provider after the user grants access.

state?string

One-time token from Start connecting an accounting system; valid for 10 minutes and usable once.

accounts-server?string

Zoho regional token-endpoint host

error?string

Error sent by the provider when the user denies access or the sign-in fails.

Response Body

OK

Example Request
curl -X GET 'https://beta.iotoms.com/api/v1/integrations/accounting/connectors/string/callback'
Example Response
Empty