Skip to content

Search stays in your browser.

Open app

Register a public OAuth client.

POST /oauth/register

Register a public OAuth client.

This operation does not declare a credential requirement in the released API contract.

Provider access, workspace membership, and agent grants are enforced separately. A token does not expand access to a repository or resource. Set up developer access.

Required. Supported content types: application/json.

Field Type Required Description
client_name string No
redirect_uris array of string No
grant_types array of string No
response_types array of string No
scope string No
token_endpoint_auth_method "none" No

Replace path placeholders and your credential. For body operations, create request.json using the required fields above; this command does not invent resource identifiers or consent.

Terminal window
curl --request POST \
'https://commentary.dev/oauth/register' \
--header 'Content-Type: application/json' \
--data-binary @request.json
Status Meaning Payload
201 Successful response. object
400 OAuth request error. OAuthError
429 The request was rate limited. OAuthError
Field Type Required Description
client_id string No
client_name string or null No
redirect_uris array of string No
token_endpoint_auth_method "none" No

Use the returned status and error body. Correct invalid fields before retrying; reconnect or narrow the target for authentication and permission errors. For conditional writes, reload the latest version before preparing a new request. Respect rate-limit headers and retry only when the operation’s idempotency contract permits it.

Operation ID: registerOAuthClient. Download the OpenAPI contract for complete constraints and code generation. Browse endpoints.