---
title: "Log in"
method: POST
path: "/auth/login"
tags: ["Auth"]
---

# Log in

`POST /auth/login`

## Request

- Base URL: `https://api.chipprofessionals.com`
- URL: `https://api.chipprofessionals.com/auth/login`
- Auth: none declared

## Request body

- object
  - `login` string, required
  - `password` string, password, required
  - `device_name` string, required

## Response `200`

Successful login

- object
  - `success` boolean
  - `data` object
    - `token` string
    - `user` object
      - `id` integer
      - `uuid` string
      - `email` string, email
      - `username` string
      - `name` string
  - `message` string

## Other responses

- `422`: Invalid credentials

---

[API](https://skmtc.dev/chipprofessionals/apis/chip-api-documentation.md) - [All operations](https://skmtc.dev/chipprofessionals/apis/chip-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/chipprofessionals/apis/chip-api-documentation/revisions/05e58f424c25?raw)
