---
title: "Criar novo token"
method: POST
path: "/v1/company/{id}/tokens"
tags: ["Contas"]
---

# Criar novo token

`POST /v1/company/{id}/tokens`

## Path parameters

- `id` string, uuid, required

## Request body

- PublicRequestCreateTokenDTO
  - `name` string, nullable — Nome do token

## Response `200`

Success

- PublicPermanentTokenDTO
  - `id` string, uuid
  - `token` string, nullable
  - `name` string, nullable
  - `userId` string, uuid
  - `createdAt` string, date-time
  - `updatedAt` string, date-time
  - `partnerId` string, uuid
  - `tenantId` string, uuid, nullable

## Other responses

- `500` — Server Error

---

[API](https://skmtc.net/helena/apis/core.md) · [All operations](https://skmtc.net/helena/apis/core/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/helena/core/versions/811b2cdd2ec2/schema)
