v52

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-311,1941,9384.1 MB
OAuth Clients

Create OAuth client

Create a new OAuth client

post/oauth_clients

Request body

allowed_grant_typesstring[] required

List of allowed OAuth grant types

allowed_scopesstring[] required

List of allowed OAuth scopes

client_type'public' | 'confidential' required

OAuth client type

logo_uristring uri

URL of the client logo

namestring required

The name of the OAuth client

policy_uristring uri

URL of the client's privacy policy

redirect_urisstring[]

List of redirect URIs (required for authorization_code flow)

require_pkceboolean

Whether PKCE (Proof Key for Code Exchange) is required for this client

tos_uristring uri

URL of the client's terms of service

Example request

{
  "allowed_scopes": [
    "admin"
  ],
  "name": "My OAuth client"
}

Response

OAuth client created successfully