---
title: "Mint a single-credential agent token"
method: POST
path: "/v1/auth/agent-token"
tags: ["Auth"]
---

# Mint a single-credential agent token

`POST /v1/auth/agent-token`

## Request

- Base URL: `https://api.translate.video` (the document declares no server; this is the origin it was published from)
- URL: `https://api.translate.video/v1/auth/agent-token`
- Auth: HTTP bearer

Returns a short opaque token (~50 chars) that SDK/agent clients send on the "va-token" header instead of managing Authorization + vitra-apitoken separately. The token is scoped to the caller's current team and can be revoked instantly by deleting its row. Shown only once — store it securely.

## Headers

- `vitra-apitoken` string

## Request body

- CreateAgentTokenDto
  - `name` string: Human-readable label for this token (shown in revocation UIs)

## Response `201`

Agent token created

## Other responses

- `401`: Not authenticated

---

[API](https://skmtc.dev/translate/apis/translate-video-server.md) - [All operations](https://skmtc.dev/translate/apis/translate-video-server/llms.txt) - [OpenAPI document](https://skmtc.dev/translate/apis/translate-video-server/revisions/d99673eed87e?raw)
