Skip to main content
POST
/
v1
/
oauth
/
register
Register Client
curl --request POST \
  --url https://api.agentpowers.ai/v1/oauth/register \
  --header 'Content-Type: application/json' \
  --data '
{
  "client_name": "<string>",
  "redirect_uris": [
    "<string>"
  ],
  "grant_types": [
    "authorization_code",
    "refresh_token"
  ],
  "response_types": [
    "code"
  ],
  "token_endpoint_auth_method": "client_secret_post"
}
'
{
  "client_id": "<string>",
  "client_secret": "<string>",
  "client_name": "<string>",
  "redirect_uris": [
    "<string>"
  ],
  "grant_types": [
    "<string>"
  ],
  "response_types": [
    "<string>"
  ],
  "token_endpoint_auth_method": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.agentpowers.ai/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
client_name
string
required
redirect_uris
string[]
required
grant_types
string[]
response_types
string[]
token_endpoint_auth_method
string
default:client_secret_post

Response

Successful Response

client_id
string
required
client_secret
string
required
client_name
string
required
redirect_uris
string[]
required
grant_types
string[]
required
response_types
string[]
required
token_endpoint_auth_method
string
required