---
title: "Byol Import Leads"
method: POST
path: "/api/app-auto-gtm/leads/byol-import"
tags: ["AppAutoGtm"]
---

# Byol Import Leads

`POST /api/app-auto-gtm/leads/byol-import`

Bring-your-own-leads (T-44): import a self-contained CSV into a new
``created_by='import'`` campaign — leads inserted directly from the provided
fields (never gated on our CH base), enriched from our base where possible,
emails verified (free), deduped, then AUTO-APPROVED into ``outreach``.

Streams NDJSON progress events so the import screen shows live progress
instead of a frozen spinner (verification is the slow step):
  ``{"type":"progress","stage":"verifying","done":42,"total":100}``
then a terminal ``{"type":"result", ...}`` or ``{"type":"error","detail":...}``.

**Feature flag:** the UI entry is gated by ``byol_import`` (default off,
toggled on /feature-flags). The flag is the rollout control; this endpoint
just requires an authenticated org member.

## Cookies

- `ex_access` string, nullable
- `ex_org` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/explee/apis/explee-api.md) · [All operations](https://skmtc.dev/explee/apis/explee-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/explee/explee-api/revisions/582ac44d6b1e/schema)
