Registers an OAuth client and returns it with its whole secret, the only response that does so without include-secret=yes, so store the secret now. Requires Super User scope. Grant types, scopes, token lifetimes, and PKCE are not set per client.
Request
Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Body Params application/jsonRequired
Examples
Responses
🟢200OK
application/json
The client, with its whole secret. It takes effect shortly after, so wait for it to appear in GET /oauth-clients/{client-id} before you use it.
{"client-id":"app.example.com","client-secret":"{{client_secret}}","redirect-uri":"https://app.example.com/oauth/callback","notes":"The client secret is shown here on create. It is returned masked from now on; include-secret=yes reads it back whole."}