---
title: "Obtain auth token pair"
method: POST
path: "/api/token"
tags: ["Auth"]
---

# Obtain auth token pair

`POST /api/token`

Authenticate the user and return a token pair

## Request body

- TokenObtainPair
  - `email` string, required
  - `password` string, required

## Response `201`

- TokenPair
  - `access` string, required
  - `refresh` string, required

---

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