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

# POST /auth/api/token/

`POST /auth/api/token/`

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

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

## Response `201`

Created

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

---

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