English
Create a new OAuth application
cURL
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>" ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Returns the created OAuth application
The response is of type object.
object