ReferenceOAuth consent and connected apps
Allow or deny an app's authorization request; returns where to send the browser
POST
Allowing records the person's consent (a connected app, remembered until revoked) and returns the app's redirect URI with an authorization code; denying returns it with error=access_denied.
application/json- body
query*stringThe authorization request's query string, as the consent page received it
Length
length <= 8000decision*stringValue in
"allow""deny"Where to send the browser
application/json- response
data*curl -X POST 'https://agents.example.com/v1/oauth/consent' \ -H 'Content-Type: application/json' \ -d '{ "query": "string", "decision": "allow"}'{ "data": { "redirectUrl": "string" }}