POST
/
oauth
/
client
curl --request POST \
  --url https://app.teable.cn/api/oauth/client \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"name":"string","description":"string","homepage":"http://example.com","logo":"string","scopes":["table|create"],"redirectUris":["http://example.com"]}'
{
  "clientId": "<string>",
  "name": "<string>",
  "secrets": [
    {
      "id": "<string>",
      "secret": "<string>",
      "lastUsedTime": "<string>"
    }
  ],
  "scopes": [
    "<string>"
  ],
  "logo": "<string>",
  "homepage": "<string>",
  "redirectUris": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

201 - application/json
Returns the created OAuth application

The response is of type object.