AppAIGatewayDocs
API referenceConsole O Auth consent

OAuth consent: details

POST
/v1/console/oauth/{id}/details

The API of the console's OAuth consent page, which an MCP client's authorization request sends a person to. First-party browser only: both the request URL origin and the exact Origin header must match the console origin, and submissionToken is the proof from the consent page URL's fragment, so it never travels in a URL. Allowing, continuing without an account and denying each answer the redirect to send the browser to, and answer it again, byte for byte, when repeated with the same proof. Reading the details changes nothing. The client's name is its own claim, shown as declared by the host that served its metadata document.

Path Parameters

id*string

The authorization's id, from the consent page URL's id query parameter.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/console/oauth/string/details" \  -H "Content-Type: application/json" \  -d '{    "submissionToken": "string"  }'
{  "id": "string",  "state": "pending",  "client": {    "id": "string",    "name": "string",    "domain": "string",    "source": "cimd"  },  "redirectHost": "string",  "requestedGrant": "read",  "expiresAt": "string",  "viewer": {    "name": "string",    "email": "string"  },  "accounts": [    {      "id": "string",      "name": "string",      "role": "owner"    }  ],  "blockedBy": "registration_required",  "guestAvailable": true,  "guestExpiresAt": "string",  "googleEnabled": true,  "registrationOpen": true}