POST
/
plugin
/
{pluginId}
/
refreshToken
curl --request POST \
  --url https://app.teable.io/api/plugin/%7BpluginId%7D/refreshToken \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"refreshToken":"string","secret":"string"}'
{
  "accessToken": "<string>",
  "refreshToken": "<string>",
  "scopes": [
    "<string>"
  ],
  "expiresIn": 123,
  "refreshExpiresIn": 123
}

Authorizations

Authorization
string
header
required

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

Path Parameters

pluginId
string
required

Body

application/json
refreshToken
string
required
secret
string
required

Response

201 - application/json
Returns token.
accessToken
string
required
refreshToken
string
required
scopes
string[]
required
expiresIn
number
required
refreshExpiresIn
number
required