OAuth
OAuth Authorization Decision
Process user's authorization decision (allow/deny)
post/oauth/authorize
Request body
Example request
{
"client_id": "mid_client_abcdef123456789",
"decision": "allow",
"scopes": [
"transactions.read",
"invoices.read"
],
"redirect_uri": "https://myapp.com/callback",
"state": "abc123xyz789_secure-random-state-value",
"code_challenge": "E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM",
"teamId": "123e4567-e89b-12d3-a456-426614174000"
}Response
Authorization decision processed, returns redirect URL