Skip to main content
POST
/
plugin
/
{pluginId}
/
refreshToken
cURL
curl --request POST \
  --url http://127.0.0.1:3000/api/plugin/{pluginId}/refreshToken \
  --header 'Authorization: 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
Last modified on December 10, 2025