POST
/
oauth
/
client
curl --request POST \
  --url https://app.teable.io/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
name
string
required
homepage
string
required
redirectUris
string[]
required
description
string
scopes
enum<string>[]
Available options:
table|create,
table|delete,
table|export,
table|import,
table|read,
table|update,
view|create,
view|delete,
view|read,
view|update,
field|create,
field|delete,
field|read,
field|update,
record|comment,
record|create,
record|delete,
record|read,
record|update,
automation|create,
automation|delete,
automation|read,
automation|update,
user|email_read

Response

201 - application/json
Returns the created OAuth application
clientId
string
required
name
string
required
homepage
string
required
redirectUris
string[]
required
secrets
object[]
scopes
string[]