---
title: "Create a new authentication token for an organization."
method: POST
path: "/v1/core/auth/tokens"
---

# Create a new authentication token for an organization.

`POST /v1/core/auth/tokens`

Create a new authentication token for an organization. Can only be used with org-group tokens.

## Request body

- object
  - `tokenName` string, required
  - `organizationId` string, required

## Response `200`

Create a new authentication token for an organization.

- object
  - `tokenId` string, required
  - `tokenName` string, required
  - `organizationId` string, required
  - `authorizedOrgGroupId` string, nullable, required — The ID of the org-group that this token is authorized to act as. Default null.
  - `parentOrgGroupTokenId` string, nullable, required — The ID of the org-group-token that created this org-scoped token. Will be null for tokens created through the UI.
  - `createdAt` string, required
  - `createdBy` string, nullable, required — The Siro uid of the user who created the token.
  - `token` string, required

---

[API](https://skmtc.dev/siro/apis/swagger-api.md) · [All operations](https://skmtc.dev/siro/apis/swagger-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/siro/swagger-api/revisions/9995339a94c6/schema)
