---
title: "Request auth token"
method: POST
path: "/auth/token"
tags: ["Authentication"]
---

# Request auth token

`POST /auth/token`

## Request

- Base URL: `https://data-reporting-api.prod.feverup.com/v1`
- URL: `https://data-reporting-api.prod.feverup.com/v1/auth/token`
- Auth: none declared
- TypeScript: <https://skmtc.dev/feverup/apis/fever-reporting-api/docs/auth/token/post.ts> (a function with typed inputs; its response is checked against the schema)

Request JWT auth token from username and password

## Request body `application/x-www-form-urlencoded`

- BodyCreateTokenAuthTokenPost
  - `username` string, required
  - `password` string, password, required

## Response `200`

Successful Response

- Token
  - `access_token` string, required: The JWT access token
  - `token_type` string, required: The JWT token type

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/feverup/apis/fever-reporting-api.md) - [All operations](https://skmtc.dev/feverup/apis/fever-reporting-api/llms.txt) - [OpenAPI document](https://skmtc.dev/feverup/apis/fever-reporting-api/revisions/a2e1afe5c12d?raw)
