---
title: "Login with email and password"
method: POST
path: "/v1/auth/token"
tags: ["Authentication"]
---

# Login with email and password

`POST /v1/auth/token`

## Request

- Base URL: `https://api.1claw.co`
- URL: `https://api.1claw.co/v1/auth/token`
- Auth: none required

## Request body

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

## Response `200`

Authenticated (or MFA required)

- LoginResponse
  - `access_token` string
  - `token_type` string
  - `expires_in` integer
  - `refresh_token` string
  - `mfa_required` boolean
  - `mfa_token` string
  - `mfa_method` 'totp' | 'passkey': When MFA is required, which second factor to collect

## Other responses

- `401`: Authentication required or invalid

---

[API](https://skmtc.dev/1claw/apis/1claw-api.md) · [All operations](https://skmtc.dev/1claw/apis/1claw-api/llms.txt) · [OpenAPI document](https://skmtc.dev/1claw/apis/1claw-api/revisions/ae109b496830?raw)
