Skip to main content
POST
Create Oauth Client

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

team_id
string
required

Body

application/vnd.api+json

Request body for registering a new OAuth client.

Accepts EITHER a flat body OR a full JSON:API envelope.

NOTE: first_party and allowed_scopes are deliberately absent — only platform-admins can set those via PlatformOAuthClientUpdateRequest. extra="forbid" makes the team-owner endpoint REJECT unknown fields (e.g. a smuggled first_party/allowed_scopes) with 422 rather than silently ignoring them. The before-validator strips the JSON:API envelope so data/type wrapper keys never reach this forbid check.

name
string
required
brand_label
string | null
is_public
boolean
default:false
logo_url
string | null
redirect_uris
string[]

Response

Successful Response

data
JsonApiResource[OAuthClientCreateAttributes] · object
required
included
any[] | null
meta
Meta · object | null