---
title: "Sign in"
method: POST
path: "/v1/accounts/login"
tags: ["Accounts"]
---

# Sign in

`POST /v1/accounts/login`

## Request

- Base URL: `https://api.cadencercs.com`
- URL: `https://api.cadencercs.com/v1/accounts/login`
- Auth: none required

Sets a session cookie and returns the same token for cross-origin callers.

## Request body

- object
  - `email` string, required
  - `password` string, required

## Response `200`

Signed in.

- object
  - `account` Account, required
    - `id` string, required
    - `email` string, required
    - `name` string, nullable
    - `company` string, nullable
    - `email_verified_at` string, nullable: ISO 8601, or null while unverified.
    - `suspended_at` string, nullable
    - `created_at` string: ISO 8601.
  - `token` string, required

## Other responses

- `400`: Missing email or password.
- `401`: Incorrect email or password.
- `429`: Rate limited per IP and per targeted account.
- `500`: Unexpected server error. The body is always JSON.

---

[API](https://skmtc.dev/cadencercs/apis/cadence-api.md) · [All operations](https://skmtc.dev/cadencercs/apis/cadence-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cadencercs/apis/cadence-api/revisions/9438443c2081?raw)
