Oauth
OAuth callback
Handle OAuth callback after user authorization
get/hub/integrations/oauth-callback
Query parameters
codestring required
OAuth authorization code
statestring required
OAuth state parameter
Response
OAuth token received and saved
Example response
{
"access_token": "eyJhbGciOiJSUzI1Ni...",
"expires_in": 1800,
"expiry": "2025-05-29T17:09:39.816102+01:00",
"modified": 1748533179,
"refresh_token": "ulpL_...",
"sequence": 85,
"subject": "ms.integration.oauth.AC75JGNMJHTRQNXCBDMIAJCJ57HAEWP2RGWXJCIFFGW2K64OKG267A2D.xero.demo",
"token_type": "Bearer"
}