---
title: "GET /plugin/{pluginId}/token"
method: GET
path: "/plugin/{pluginId}/token"
tags: ["plugin"]
---

# GET /plugin/{pluginId}/token

`GET /plugin/{pluginId}/token`

Get a token

## Path parameters

- `pluginId` string, required

## Request body

- object
  - `baseId` string, required
  - `secret` string, required
  - `scopes` string[], required
  - `authCode` string, required

## Response `200`

Returns token.

- object
  - `accessToken` string, required
  - `refreshToken` string, required
  - `scopes` string[], required
  - `expiresIn` number, required
  - `refreshExpiresIn` number, required

---

[API](https://skmtc.net/teable/apis/teable-app.md) · [All operations](https://skmtc.net/teable/apis/teable-app/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/teable/teable-app/revisions/7515f3b33d79/schema)
