---
title: "Email a login code"
method: POST
path: "/auth/request-code"
---

# Email a login code

`POST /auth/request-code`

## Request

- Base URL: `https://api.lazybird.app/v1`
- URL: `https://api.lazybird.app/v1/auth/request-code`
- Auth: none required

Sign up or log in without the studio: emails a 6-digit code that `/auth/verify-code` trades for an API key. Creates a free account on verify if none exists for the email. The response is the same whether or not an account exists. Disposable email domains are rejected. One code per email per minute, five per hour.

## Request body

- object
  - `email` string, email, required

## Response `202`

Code sent

- object
  - `sent` boolean
  - `expiresInSeconds` integer

## Other responses

- `400`: Invalid input
- `429`: Too many requests; retry after `Retry-After` seconds
- `503`: Email login is temporarily unavailable

---

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