---
title: "Create leads"
method: POST
path: "/api/v1/public/agents/{agent_id}/leads"
tags: ["public"]
---

# Create leads

`POST /api/v1/public/agents/{agent_id}/leads`

Create one or more leads and assign them to a voice agent.

## Path parameters

- `agent_id` string, required

## Headers

- `Idempotency-Key` string, nullable

## Request body

- union
  - LeadCreateRequest
    - `name` string, required
    - `email` string, required
    - `phone` string, required
    - `description` string, required
  - LeadCreateRequest[]
    - `name` string, required
    - `email` string, required
    - `phone` string, required
    - `description` string, required

## Response `200`

Successful Response

- LeadResponse[]

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/outcallerai/apis/fastapi.md) · [All operations](https://skmtc.net/outcallerai/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/outcallerai/fastapi/versions/2e4355d35497/schema)
