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

# Log in with email + password

`POST /auth/login`

## Request

- Base URL: `https://whatareyoudo.ing/api/v1`
- URL: `https://whatareyoudo.ing/api/v1/auth/login`
- Auth: none declared

## Request body

- LoginRequest
  - `email` string, email, required
  - `password` string, required
  - `captchaToken` string

## Response `200`

OK

- object
  - `data` object, required
    - `accessToken` string, required
    - `expiresIn` integer, required
    - `refreshToken` string, required
    - `user` object, required
      - `id` string, uuid, required
      - `email` string, email
  - `meta` object, required
    - `requestId` string, required

## Other responses

- `401`: INVALID_CREDENTIALS -- deliberately doesn't reveal whether the account exists

---

[API](https://skmtc.dev/whatareyoudo/apis/whatcha-api.md) · [All operations](https://skmtc.dev/whatareyoudo/apis/whatcha-api/llms.txt) · [OpenAPI document](https://skmtc.dev/whatareyoudo/apis/whatcha-api/revisions/48dd8a54abea?raw)
