Skip to main content
POST
Start an accounting OAuth flow

Path Parameters

Body Parameters

Example Request

Response

Redirect the user’s browser to the returned auth_url to complete the OAuth authorization.
After the user authorizes the connection, they will be redirected to your redirect_uri with an authorization code. Recurso handles the token exchange automatically. You can verify the connection was established by calling the List Accounting Connections endpoint.

Authorizations

Authorization
string
header
required

Tenant API key obtained from POST /auth/register or POST /v1/developer/keys.

Path Parameters

provider
enum<string>
required

Accounting provider.

Available options:
quickbooks,
xero

Response

Authorization URL to redirect the user to.

auth_url
string<uri>