简体中文
Get a token
cURL
curl --request GET \ --url https://app.teable.cn/api/plugin/%7BpluginId%7D/token \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \ --header 'content-type: application/json' \ --data '{"baseId":"string","secret":"string","scopes":["string"],"authCode":"string"}'
{ "accessToken": "<string>", "refreshToken": "<string>", "scopes": [ "<string>" ], "expiresIn": 123, "refreshExpiresIn": 123 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Returns token.
The response is of type object.
object