---
title: "Create"
method: POST
path: "/v4/tokens"
tags: ["Tokens"]
---

# Create

`POST /v4/tokens`

Create a new Catalyst API Bearer token for an authenticated user.

This token will be associated with a team if a team_id is present in the JWT.

## Request body

- TokenCreate — Model for creating an API token
  - `name` string
  - `expires_at` string, date-time

## Response `201`

Successful Response

- TokenGet — API token representation when returned from an API call.
  - `id` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `value` string, required
  - `name` string, required
  - `expires_at` string, date-time
  - `last_used` string, date-time
  - `is_active` boolean, required
  - `is_enabled` boolean, required
  - `team_id` string

## Other responses

- `422` — Validation Error

---

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