---
title: "Get API token by id"
method: GET
path: "/apiTokens/{id}"
tags: ["API tokens"]
---

# Get API token by id

`GET /apiTokens/{id}`

## Request

- Base URL: `https://localhost:8446/api/v2`
- URL: `https://localhost:8446/api/v2/apiTokens/{id}`
- Auth: API key in header `Authorization`

Returns API token info.

## Path parameters

- `id` number, required

## Response `200`

Successful response

- object
  - `id` number, required: API token id
  - `user_id` number, required: API token is used by user id
  - `token` string, required: Obscured token
  - `description` string, required: Token description
  - `expire_at` number: Token expiration time

## Other responses

- `default`: Error response. Depending on the error, either a 4xx or 5xx response status is returned.

---

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