Skip to content

Xero sending the browser back

GET
/xero/callback
curl --request GET \
--url 'https://example.com/xero/callback?state=example'

Not for calling by hand. Finishes the connection begun by /xero/connect and redirects to the accounting settings page.

code
string
state
required
string
error
string

Back to the accounting settings

Not a state we issued

Media typeapplication/json
object
error
required
string
message
required
string
Example
{
"error": "not_found",
"message": "Customer not found"
}

Xero is not configured on this installation

Media typeapplication/json
object
error
required
string
message
required
string
Example
{
"error": "not_found",
"message": "Customer not found"
}