Oauth
OAuth callback
Changed onHandle OAuth callback after user authorization
get/hub/integrations/oauth-callback
Request
- Base URLhttps://api.quiva.ai
- Auth
- HTTP bearer
- or API key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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"
}Changes
- info
endpoint added
- info