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

# POST /api/auth/token/

`POST /api/auth/token/`

## Request

- Base URL: `https://api.overmindlab.ai`
- URL: `https://api.overmindlab.ai/api/auth/token/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - HTTP bearer
  - none

Takes a set of user credentials and returns an access and refresh JSON web
token pair to prove the authentication of those credentials.

## Request body

- TokenObtainPairRequest
  - `email` string, required
  - `password` string, required

## Response `200`

- TokenObtainPair
  - `access` string, required
  - `refresh` string, required

---

[API](https://skmtc.dev/overmindlab/apis/overmind-api.md) - [All operations](https://skmtc.dev/overmindlab/apis/overmind-api/llms.txt) - [OpenAPI document](https://skmtc.dev/overmindlab/apis/overmind-api/revisions/0ecfd39e80c6?raw)
