---
title: "Generate an API token"
method: POST
path: "/tokens"
tags: ["Tokens"]
---

# Generate an API token

`POST /tokens`

Generate a token that will be associated to your account and be used to call this API.

## Response `200`

The newly generated API token

- Token
  - `tokenUniqueId` string
  - `token` string
  - `expiration` string

## Other responses

- `401` — Unauthorized

---

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