---
title: "Import historical sales conversations for objection extraction"
method: POST
path: "/api/sales/objections/import"
tags: ["Objections"]
---

# Import historical sales conversations for objection extraction

`POST /api/sales/objections/import`

## Request

- Base URL: `https://api.setluca.com`
- URL: `https://api.setluca.com/api/sales/objections/import`
- Auth: API key in cookie `luca.session_token`

Hands a batch of past sales transcripts to the worker, which distills reusable objection-handling patterns from them. It returns as soon as the job is queued. Nothing here changes how Luca drafts until a pattern is adopted.

**Session-only.** This endpoint isn't on the API-key allowlist. An organization API key gets a 403 here, whatever scopes it holds.

## Headers

- `Luca-API-Version` '1'

## Request body

- ObjectionImportRequest
  - `source` 'csv_upload' | 'paste', required
  - `conversations` object[], required
    - `leadMessage` string, required
    - `coachResponse` string, required
    - `leadFollowUp` string

## Response `200`

ok

- ObjectionImportResponse
  - `ok` true, required
  - `requested` true, required
  - `conversationCount` integer, required

## Other responses

- `400`: validation failed
- `401`: unauthorized
- `429`: rate limited

---

[API](https://skmtc.dev/setluca/apis/luca-api.md) · [All operations](https://skmtc.dev/setluca/apis/luca-api/llms.txt) · [OpenAPI document](https://skmtc.dev/setluca/apis/luca-api/revisions/90a200e4100b?raw)
