Register an app
post/oauth/apps
Register an app: its redirect addresses and the most it may ask for. A confidential client's secret is returned once.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
keys:admin- Sdk
keys.app.create- Cli
keys app create
Request bodyapplication/json, required
- namestringrequiredAt most 120 characters.
- redirectUrislist of stringrequired
- scopeslist of stringrequired
- confidentialboolean
Responses
- 201application/jsonSuccess
- idstring (uuid)required
- tenantIdstringrequired
- namestringrequired
- clientIdstringrequired
- redirectUrislist of stringrequired
- scopeslist of stringrequired
- createdBystringrequired
- createdAtstringrequired
- disabledAtstring or nullrequired
- clientSecretstring
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring