---
title: "get a token by id"
method: GET
path: "/token/:id"
tags: ["token"]
---

# get a token by id

`GET /token/:id`

This can only be done by a logged in user/service account with the required privileges.

## Path parameters

- `id` string, required

## Response `200`

- Token
  - `_id` string, required
  - `tokenId` string — This is a JTI
  - `inquirer` string — id of the inquiring service account
  - `initiator` string — id of the initiator service
  - `description` string
  - `permissions` string[] — An array containing the permissions
  - `type` 'EPHEMERAL_SERVICE_ACCOUNT'
  - `createdAt` unknown
  - `updatedAt` unknown

## Changes

- **2018-12-03** `a85cff4a1faa` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/openintegrationhub/apis/iam-api-for-oih/changes/token/:id/get.md)

---

[API](https://skmtc.dev/openintegrationhub/apis/iam-api-for-oih.md) · [All operations](https://skmtc.dev/openintegrationhub/apis/iam-api-for-oih/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openintegrationhub/iam-api-for-oih/revisions/a85cff4a1faa/schema)
