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"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

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