API Reference

OAuth 2.0

The OAuth issuer for AI connectors and partner apps (RFC 6749).

3 endpoints
get/api/v1/public/oauth/authorize

Get authorize

`GET /api/v1/public/oauth/authorize` — validate the request and describe the consent to render.,,.

This returns the prompt, not a code. The console renders it, the user approves, and the approval — which requires a session this endpoint deliberately does not have — mints the code at `POST /api/v1/console/oauth/consent`.

Auth
No credential needed.

Query parameters

ClientId
string
—
RedirectUri
string
—
ResponseType
string
Only `code` is supported (FR-API-069). Anything else is `unsupported_response_type`.
Scope
string
Space-delimited, per RFC 6749 §3.3. Empty means "everything registered" (FR-API-068).
State
string
Opaque client state, echoed back untouched. Never interpreted here.
CodeChallenge
string
—
CodeChallengeMethod
string
—

Responses

200Success
429RATE_LIMITED — over the per-minute limit or the daily quota. Wait Retry-After seconds, then retry with exponential backoff and jitter.
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/public/oauth/authorize" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Query parameters

Headers

Set credentials in the “Authorize” menu
post/api/v1/public/oauth/register

Create 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

application/json
{
  "client_name": "string",
  "redirect_uris": [
    "string"
  ],
  "token_endpoint_auth_method": "string"
}
client_name
string
—
redirect_uris
string[]
—
token_endpoint_auth_method
string
—

Responses

200Success
429RATE_LIMITED — over the per-minute limit or the daily quota. Wait Retry-After seconds, then retry with exponential backoff and jitter.
cURL
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"
}'
Try itagainst staging · https://staging-api.panoptesos.com

Request body (JSON)

Headers

Set credentials in the “Authorize” menu
post/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

200Success
429RATE_LIMITED — over the per-minute limit or the daily quota. Wait Retry-After seconds, then retry with exponential backoff and jitter.
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/public/oauth/token" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Headers

Set credentials in the “Authorize” menu