v47

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-181,0851,7264.5 MB
OAuth Clients

Create OAuth client

Create a new OAuth client

post/oauth_clients

Request body

namestring required

The name of the OAuth client

allowed_scopesstring[] required

List of allowed OAuth scopes

client_type'public' | 'confidential' required

OAuth client type

require_pkceboolean

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

allowed_grant_typesstring[] required

List of allowed OAuth grant types

redirect_urisstring[]

List of redirect URIs (required for authorization_code flow)

logo_uristring uri

URL of the client logo

policy_uristring uri

URL of the client's privacy policy

tos_uristring uri

URL of the client's terms of service

Example request

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

Response

OAuth client created successfully