---
title: "Authenticate user"
method: POST
path: "/v1/auth/login"
tags: ["Auth"]
---

# Authenticate user

`POST /v1/auth/login`

## Request body

- LoginRequest
  - `email` string, email, required
  - `password` string, required
  - `device_id` string, nullable

## Response `200`

Success

- object
  - `data` object
  - `meta` object
    - `token` string

## Other responses

- `401` — Invalid credentials

---

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