v1

latestOpenAPI 3.1.0AGPL-3.0 license2026-07-1210336283.6 KB
OAuth

Dynamic Client Registration

Register an OAuth client dynamically (RFC 7591). Used by MCP clients like ChatGPT and Claude.

post/oauth/register

Request body

client_namestring required

Human-readable name of the client

redirect_urisstring[] required

Array of redirect URIs

grant_typesstring[]

Requested grant types

token_endpoint_auth_methodstring

Token endpoint authentication method

scopestring

Space-separated requested scopes

logo_uristring uri

URL of the client logo

client_uristring uri

URL of the client homepage

response_typesstring[]

Requested response types

Example request

{
  "client_name": "ChatGPT",
  "redirect_uris": [
    "https://chatgpt.com/connector/oauth/callback"
  ],
  "grant_types": [
    "authorization_code",
    "refresh_token"
  ],
  "token_endpoint_auth_method": "none",
  "scope": "transactions.read invoices.read",
  "logo_uri": "https://example.com/logo.png",
  "client_uri": "https://example.com",
  "response_types": [
    "code"
  ]
}

Response

Client registered successfully

client_idstring required

Assigned client ID

client_namestring required

Human-readable name of the client

redirect_urisstring[] required

Registered redirect URIs

grant_typesstring[] required

Granted grant types

token_endpoint_auth_methodstring required

Token endpoint authentication method

response_typesstring[] required

Supported response types

Example response

{
  "client_id": "mid_client_abcdef123456789",
  "client_name": "ChatGPT",
  "redirect_uris": [
    "https://chatgpt.com/connector/oauth/callback"
  ],
  "grant_types": [
    "authorization_code",
    "refresh_token"
  ],
  "token_endpoint_auth_method": "none",
  "response_types": [
    "code"
  ]
}
All 103 operations