---
title: "Generate API token"
method: POST
path: "/api/v1/auth/token"
tags: ["Events"]
---

# Generate API token

`POST /api/v1/auth/token`

The method is used for generating a token for bearer authentication. Use the token only if the basic authentication is not appropriate for you.<br>Available methods for token authorization:<br><i>POST /v1/event</i><br/><i>POST /v1/past_events</i><br/><i>DELETE /v1/past_events</i><br/>

## Response `200`

---

[API](https://skmtc.net/esputnik/apis/esputnik-com.md) · [All operations](https://skmtc.net/esputnik/apis/esputnik-com/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/esputnik/esputnik-com/versions/1c4afd7ba72a/schema)
