---
title: "Create ingestion token"
method: POST
path: "/v1/tokens"
tags: ["tokens"]
---

# Create ingestion token

`POST /v1/tokens`

## Request body

- TokensCreateTokenRequest
  - `name` string, required — Name of the token.
  - `tags` object, required — Tags to associate with the token.
    - `server` string, required — Server tag value.
    - `tag_without_value` string, required — Tag without a value.
  - `type` 'ingestion', required — Type of token. Currently only 'ingestion' is supported.

## Response `201`

The request has succeeded and a new resource has been created as a result.

- TokensCreateTokenResponse
  - `token` string, required — API token.

## Other responses

- `400` — The server could not understand the request due to invalid syntax.
- `401` — Access is unauthorized.
- `403` — Access is forbidden.
- `500` — Server error
- `503` — Service unavailable.

---

[API](https://skmtc.net/solarwinds/apis/solarwinds-observability.md) · [All operations](https://skmtc.net/solarwinds/apis/solarwinds-observability/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/solarwinds/solarwinds-observability/versions/994e5ca64961/schema)
