Skip to main content
POST
Import a partner-supplied OAuth connection

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

integration
string
required

Body

application/json
business_entity_id
string
required
access_token
string
required

OAuth access token issued by the partner's QBO/Xero app for the customer.

access_token_expires_in
number<decimal>
required

Lifetime of the access token, in seconds.

Required range: x >= 0
refresh_token
string
required

Long-lived refresh token paired with the access token.

refresh_token_expires_in
number<decimal>
required

Lifetime of the refresh token, in seconds.

Required range: x >= 0
realm_id
string

QuickBooks company id (QBO realmId). Required for QuickBooks, ignored for Xero.

Response

200 - application/json

OK

id
string
read-only

The unique identifier of the object in Nmbr.

object
string
read-only

The type of the object in Nmbr ("integration").

data
Integration · object