---
title: "POST /auth/users/tokens"
method: POST
path: "/auth/users/tokens"
---

# POST /auth/users/tokens

`POST /auth/users/tokens`

## Request

- Base URL: `https://docs.socotra.com`
- URL: `https://docs.socotra.com/auth/users/tokens`
- Auth: none declared
- TypeScript: <https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi/docs/auth/users/tokens/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- AuthTokenCreateRequest
  - `name` string, required
  - `tenants` string[], required
  - `permissions` string[], required
  - `expiresAt` string, date-time, required

## Response `200`

OK

- string

---

[API](https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi.md) - [All operations](https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi/llms.txt) - [OpenAPI document](https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi/revisions/77ee7d8172b9?raw)
