---
title: "POST /access-token"
method: POST
path: "/access-token"
tags: ["access-token"]
---

# POST /access-token

`POST /access-token`

Create access token

## Request body

- object
  - `name` string, required
  - `description` string
  - `scopes` string[], required
  - `spaceIds` string[], nullable
  - `baseIds` string[], nullable
  - `hasFullAccess` boolean
  - `expiredTime` string, required

## Response `201`

Returns access token.

- object
  - `id` string, required
  - `name` string, required
  - `description` string
  - `scopes` string[], required
  - `spaceIds` string[], nullable
  - `baseIds` string[], nullable
  - `hasFullAccess` boolean
  - `expiredTime` string, required
  - `token` string, required
  - `createdTime` string, required
  - `lastUsedTime` string, 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)
