Skip to content
Build your own business

Register your OAuth client

POST/oauth/register

Send the exact approved hosted callback URL, or a loopback callback for local development. The issuer accepts one to ten supported callback URLs. A confidential client receives its secret at registration.

Authentication Public endpoint.

Request body

application/json

  • redirect_uris array of string · uri · required
  • client_name string · max length 80
  • token_endpoint_auth_method none | client_secret_post | client_secret_basic
  • grant_types array of authorization_code | refresh_token

Example

{
  "redirect_uris": [
    "http://127.0.0.1:8040/callback"
  ],
  "client_name": "Field Operations",
  "token_endpoint_auth_method": "none",
  "grant_types": [
    "authorization_code",
    "refresh_token"
  ]
}

Responses

201 · Registered client

application/json

  • client_id string · required
  • client_secret string
  • client_secret_expires_at integer
  • client_id_issued_at integer · required
  • client_name string
  • redirect_uris array of string · uri · required
  • grant_types array of string · required
  • response_types array of string · required
  • token_endpoint_auth_method none | client_secret_post | client_secret_basic · required
400 · OAuth error

application/json

  • error string · required
  • error_description string
429 · OAuth error

application/json

  • error string · required
  • error_description string

Download the full OpenAPI specification