---
title: "Import Leads"
method: POST
path: "/api/admin/leads/import"
tags: ["admin-leads"]
---

# Import Leads

`POST /api/admin/leads/import`

## Request

- Base URL: `https://api.outcallerai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.outcallerai.com/api/admin/leads/import`
- Auth: none declared

## Request body `multipart/form-data`

- BodyImportLeadsApiAdminLeadsImportPost
  - `file` string, binary, required
  - `workspace_id` string, required
  - `use_case_id` string, nullable

## Response `200`

Successful Response

- LeadImportResponse
  - `imported` integer, required
  - `errors` integer, required
  - `error_details` string[]

## Other responses

- `422`: Validation Error

## Changes

- **2026-07-31** `7c9aff2501f3`: 1 warning, 1 info
  - removed the request property `campaign_id`
  - added the new optional request property `use_case_id`

[Operation history](https://skmtc.dev/outcallerai/apis/outcallerai-api/changes/api/admin/leads/import/post.md)

---

[API](https://skmtc.dev/outcallerai/apis/outcallerai-api.md) - [All operations](https://skmtc.dev/outcallerai/apis/outcallerai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/outcallerai/apis/outcallerai-api/revisions/40736cf433b4?raw)
