Answer sign-in request
POST
/api/mcp/authorizeAllow or refuse an AI app's sign-in.
Needs the UseAiChat permission.
AuthorizationBearer <token>
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/api/mcp/authorize" \ -H "Content-Type: application/json" \ -d '{ "clientId": "string", "redirectUri": null, "state": null, "codeChallenge": null, "codeChallengeMethod": null, "scope": null, "resource": null, "approve": true }'{ "redirectTo": "string"}