App (OAuth)

Create app

Create an app.

post/app

Request body

idstring required

Unique object identifier. The format and length of IDs may change over time.

namestring required

Name of the app.

redirectURIstring required

Redirect URI of the app.

secretstring required

OAuth 2.0 client secret of the app (obfuscated).

Example request

{
  "id": "cli_XXXXXXXXXXXXXXXXXXXXXXXXX",
  "secret": "sec_******XXXX",
  "name": "Example App",
  "redirectURI": "https://example.com/callback"
}

Response

OAuth 2.0 client ID and secret.

Example response

{
  "data": {
    "id": "cli_XXXXXXXXXXXXXXXXXXXXXXXXX",
    "secret": "sec_******XXXX"
  }
}

Changes