---
title: "Get token status"
method: GET
path: "/api/feishu/token"
tags: ["Feishu"]
---

# Get token status

`GET /api/feishu/token`

## Request

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

Returns the current status of cached tokens for debugging purposes

## Response `200`

Token status retrieved successfully

- object
  - `success` boolean
  - `status` object
    - `appToken` object
      - `cached` boolean: Whether app token is cached
      - `expiresIn` number: Time until expiry in milliseconds
    - `tenantToken` object
      - `cached` boolean: Whether tenant token is cached
      - `expiresIn` number: Time until expiry in milliseconds

## Other responses

- `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)
