---
title: "Get tenant access token"
method: POST
path: "/api/feishu/token"
tags: ["Feishu"]
---

# Get tenant access token

`POST /api/feishu/token`

## Request

- Base URL: `https://api.kolect.com`
- URL: `https://api.kolect.com/api/feishu/token`
- Auth: HTTP bearer

Retrieves the tenant access token (internally managed)

## Request body

- object
  - `forceRefresh` boolean: Whether to force refresh the token

## Response `200`

Token retrieved successfully

- object
  - `success` boolean
  - `token` string: The tenant access token
  - `expiresIn` number: Time until expiry in seconds

## Other responses

- `400`: Bad request - validation error
- `500`: Internal server error

---

[API](https://skmtc.dev/kolect/apis/kolect-api.md) · [All operations](https://skmtc.dev/kolect/apis/kolect-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kolect/apis/kolect-api/revisions/fe54528e8f54?raw)
