---
title: "Request Otp"
method: POST
path: "/v1/auth/otp"
tags: ["Auth"]
---

# Request Otp

`POST /v1/auth/otp`

## Request

- Base URL: `https://api.agentline.cloud`
- URL: `https://api.agentline.cloud/v1/auth/otp`
- Auth: none declared

Send a one-time code to an email address.

This is the single entry point for both sign-up and sign-in: an AI agent
calling it for the first time will have an account created on verification,
while a human (or returning agent) using the same email simply signs in.

## Request body

- OtpRequest
  - `email` string, email, required: Email address to send the one-time code to. The same email identifies the account for both agents and humans.

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/agentline/apis/agentline-prepaid-phone-service-for-ai-agents.md) · [All operations](https://skmtc.dev/agentline/apis/agentline-prepaid-phone-service-for-ai-agents/llms.txt) · [OpenAPI document](https://skmtc.dev/agentline/apis/agentline-prepaid-phone-service-for-ai-agents/revisions/18c0bdbb4b30?raw)
