---
title: "Get token details"
method: GET
path: "/token_details"
tags: ["Access Tokens"]
---

# Get token details

`GET /token_details`

Returns the team ID for team tokens.
Especially useful after receiving a team token from an OAuth flow
since most endpoints require team ID.

## Response `200`

- union
  - object
    - `id` integer, required
    - `teamId` integer, required
    - `name` string, required
    - `createTime` integer, required — Timestamp in milliseconds when this token was created.
    - `type` 'teamToken', required
  - object
    - `id` integer, required
    - `projectId` integer, required
    - `name` string, required
    - `createTime` integer, required — Timestamp in milliseconds when this token was created.
    - `type` 'projectToken', required

---

[API](https://skmtc.net/convex/apis/convex-management-api.md) · [All operations](https://skmtc.net/convex/apis/convex-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/convex/convex-management-api/versions/cfe35d359fba/schema)
