Skip to main content
POST
/
v1
/
provider-mcp
/
oauth
/
register
Dynamic Client Registration for Provider MCP (dashboard OAuth)
curl --request POST \
  --url https://api.example.com/v1/provider-mcp/oauth/register \
  --header 'Content-Type: application/json' \
  --data '
{
  "client_name": "My AI Agent",
  "redirect_uris": [
    "https://agent.example.com/callback"
  ],
  "grant_types": [
    "authorization_code",
    "refresh_token"
  ],
  "response_types": [
    "code"
  ],
  "software_id": "agent-123",
  "software_version": "1.0.0",
  "logo_uri": "https://example.com/logo.png",
  "tos_uri": "https://example.com/tos",
  "policy_uri": "https://example.com/policy",
  "client_uri": "https://example.com"
}
'
{
  "client_id": "client-id-123",
  "client_secret": "client-secret-456",
  "client_id_issued_at": 1734567890,
  "client_secret_expires_at": 0,
  "client_name": "My AI Agent",
  "redirect_uris": [
    "https://agent.example.com/callback"
  ],
  "grant_types": [
    "authorization_code",
    "refresh_token"
  ],
  "response_types": [
    "code"
  ],
  "scope": "openid profile email",
  "token_endpoint_auth_method": "client_secret_basic"
}

Body

application/json
client_name
string
required
Example:

"My AI Agent"

redirect_uris
string[]
required
Example:
["https://agent.example.com/callback"]
grant_types
string[]
Example:
["authorization_code", "refresh_token"]
response_types
string[]
Example:
["code"]
software_id
string
Example:

"agent-123"

software_version
string
Example:

"1.0.0"

logo_uri
string
Example:

"https://example.com/logo.png"

tos_uri
string
Example:

"https://example.com/tos"

policy_uri
string
Example:

"https://example.com/policy"

client_uri
string
Example:

"https://example.com"

Response

Client registered

client_id
string
required
Example:

"client-id-123"

client_secret
string
required
Example:

"client-secret-456"

client_id_issued_at
number
required
Example:

1734567890

client_secret_expires_at
number
required
Example:

0

client_name
string
required
Example:

"My AI Agent"

redirect_uris
string[]
required
Example:
["https://agent.example.com/callback"]
grant_types
string[]
required
Example:
["authorization_code", "refresh_token"]
response_types
string[]
required
Example:
["code"]
scope
string
required
Example:

"openid profile email"

token_endpoint_auth_method
string
required
Example:

"client_secret_basic"