---
title: "Create a JSON Web Token for authentication"
method: POST
path: "/api/v1/authenticate"
tags: ["Authentication"]
---

# Create a JSON Web Token for authentication

`POST /api/v1/authenticate`

## Request body

- object
  - `company_name` string, required
  - `username` string, required
  - `key` string, required

## Response `200`

Successfully authenticated

## Other responses

- `401` — Incorrect API credentials
- `404` — Cannot find either company_name or username

---

[API](https://skmtc.net/trakstar/apis/service-api.md) · [All operations](https://skmtc.net/trakstar/apis/service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/trakstar/service-api/revisions/a3ea128a9743/schema)
