API Reference
OAuth 2.0
The OAuth issuer for AI connectors and partner apps (RFC 6749).
/api/v1/public/oauth/registerCreate register
`POST /api/v1/public/oauth/register` — RFC 7591 dynamic client registration, so an AI connector (claude.ai, ChatGPT) can connect to the MCP surface from its URL alone. Public clients only, PKCE mandatory.
- Auth
- No credential needed.
Request body
{
"client_name": "string",
"redirect_uris": [
"string"
],
"token_endpoint_auth_method": "string"
}| client_name string | — |
| redirect_uris string[] | — |
| token_endpoint_auth_method string | — |
Responses
curl -X POST "https://staging-api.panoptesos.com/api/v1/public/oauth/register" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"client_name": "string",
"redirect_uris": [
"string"
],
"token_endpoint_auth_method": "string"
}'Request body (JSON)
Headers
/api/v1/public/oauth/token`POST /api/v1/public/oauth/token` — exchange a code, or rotate a refresh
…,,.
Accepts `application/x-www-form-urlencoded` and JSON alike. The form encoding is what RFC 6749 specifies and what most client libraries send; JSON is accepted because a hand-rolled integration will reach for it first and failing that request with a 415 teaches the integrator nothing.
`[AllowDuringReadOnlyMaintenance]` (staff-app contract): an MCP connector's access token lives an hour, and `/api/v1/mcp` stays open in a `read_only` window, so the refresh that keeps the connector signed in must stay open too. Like console `auth/refresh`, it writes only OAuth token rows. A code exchange passes as well; it can only complete a consent given before the window (the console consent route is gated).
- Auth
- No credential needed.
Responses
curl -X POST "https://staging-api.panoptesos.com/api/v1/public/oauth/token" \
-H "X-Api-Key: <YOUR_API_KEY>"Headers