Skip to main content
POST
/
v1
/
provider-mcp
/
oauth
/
consent
Approve or deny MCP client access
curl --request POST \
  --url https://api.example.com/v1/provider-mcp/oauth/consent \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '
{
  "sessionKey": "<string>",
  "allow": true
}
'
{
  "redirectUrl": "<string>"
}

Headers

authorization
string
required

Body

application/json
sessionKey
string
required
allow
boolean
required

Response

Consent processed

redirectUrl
string