Skip to main content
GET
/
plugin
/
{pluginId}
/
token
cURL
curl --request GET \
  --url http://127.0.0.1:3000/api/plugin/{pluginId}/token \
  --header 'Authorization: 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
}

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
baseId
string
required
secret
string
required
scopes
string[]
required
authCode
string
required

Response

200 - 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