---
title: "Create Token"
method: POST
path: "/api/satellite-tokens"
tags: ["satellite-tokens"]
---

# Create Token

`POST /api/satellite-tokens`

## Request

- Base URL: `https://api.deeptrace.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.deeptrace.com/api/satellite-tokens`
- Auth: none declared

Create a new ingest token.

The full token is only returned once. Store it securely!

## Request body

- CreateTokenRequest: Request to create a new ingest token.
  - `name` string, required
  - `expires_in_days` integer, nullable

## Response `200`

Successful Response

- NewTokenResponse: Response when creating a new token (includes full token).
  - `id` string, required
  - `name` string, required
  - `token` string, required
  - `token_prefix` string, required
  - `created_at` string, required
  - `expires_at` string, nullable, required

## Other responses

- `422`: Validation Error

---

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