> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Prospect imports, table research and smart outreach

> Overview of import workflows, table research, contact management, and smart outreach endpoints in Revor AI API v2.

Use `Authorization: Bearer <API_KEY>`. All table and item IDs are public UUIDs returned by `/api/v2/websets` and `/websets/{id}/items`, not provider IDs. The following paths are relative to `/api/v2`.

| Method and path | Permission | Purpose |
| - | - | - |
| `POST /imports` | `prospects.imports:write` | Import structured records or request an upload URL. See [Create import](/docs/api/v2/workflow-imports-create.md). |
| `POST /imports/{runId}/complete` | `prospects.imports:write` | Confirm upload and queue import. See [Complete file import](/docs/api/v2/workflow-imports-complete.md). |
| `GET /imports/{runId}` | `prospects.imports:read` | Import progress and table IDs. See [Get import status](/docs/api/v2/workflow-imports-get.md). |
| `GET /websets/{id}/research/columns` | `websets.research:read` | Discover existing field keys. See [List research columns](/docs/api/v2/workflow-research-columns.md). |
| `POST /websets/{id}/research/runs` | `websets.research:write` | Research an existing table. See [Start research run](/docs/api/v2/workflow-research-start.md). |
| `GET /websets/{id}/research/runs/{runId}` | `websets.research:read` | Progress or current results. See [Get research run](/docs/api/v2/workflow-research-get.md). |
| `GET /websets/{id}/items/{itemId}/contacts/{fieldKey}` | `prospects.contacts:read` | Read contacts. See [Get contacts](/docs/api/v2/workflow-contacts-get.md). |
| `PATCH /websets/{id}/items/{itemId}/contacts/{fieldKey}` | `prospects.contacts:write` | Replace contacts. See [Update contacts](/docs/api/v2/workflow-contacts-update.md). |
| `GET /websets/{id}/smart-outreach` | `outreach.plans:read` | Ownership version and schedules. See [Get outreach plan](/docs/api/v2/workflow-outreach-get.md). |
| `POST /websets/{id}/smart-outreach/start` | `outreach.plans:write` | Start outreach. See [Start outreach](/docs/api/v2/workflow-outreach-start.md). |
| `POST /websets/{id}/smart-outreach/stop` | `outreach.plans:write` | Stop outreach. See [Stop outreach](/docs/api/v2/workflow-outreach-stop.md). |
| `POST /websets/{id}/smart-outreach/statuses` | `outreach.plans:read` | Batch item status. See [Batch outreach statuses](/docs/api/v2/workflow-outreach-statuses.md). |
| `GET /websets/{id}/smart-outreach/items/{itemId}?channel=email` | `outreach.plans:read` | Targets for one item. See [Get outreach item targets](/docs/api/v2/workflow-outreach-item.md). |
| `GET /websets/{id}/smart-outreach/drafts/{targetId}` | `outreach.plans:read` | Read a pending draft. See [Get outreach draft](/docs/api/v2/workflow-outreach-draft-get.md). |
| `PATCH /websets/{id}/smart-outreach/drafts/{targetId}` | `outreach.plans:write` | Edit a pending draft. See [Update outreach draft](/docs/api/v2/workflow-outreach-draft-update.md). |

> [!NOTE]
>
> `{id}` refers to `websetId`. `{itemId}` and `{runId}` are item and run UUIDs respectively.

## File import workflow

For CSV or XLSX files up to 10 MiB, follow this sequence:

**1. Initialize upload**

Call [`POST /imports`](/docs/api/v2/workflow-imports-create) with `file_name`, `content_type`, `size_bytes`, and optional `locale` (`en` or `zh`).

The response includes:

* `id` - import run ID
* `webset_id` - target table ID
* `upload_url` - signed storage URL
* `method` - HTTP method for upload (usually `PUT`)
* `expires_in` - URL expiration time in seconds

**2. Upload the file**

PUT the raw file bytes to `upload_url`. Do not forward the API key to the storage URL.

**3. Confirm and queue**

Call [`POST /imports/{runId}/complete`](/docs/api/v2/workflow-imports-complete) with `source_kind` (`csv` or `xlsx`), `file_name`, and `declared_size_bytes`.

**4. Poll progress**

Call [`GET /imports/{runId}`](/docs/api/v2/workflow-imports-get) and read results from `webset_ids`.

> [!WARNING]
>
> Init and complete require separate `Idempotency-Key` values. Reuse each key for retries of the same step. Do not reuse the same key across different steps.

## Imports

> [card] [Create import](/docs/api/v2/workflow-imports-create.md)
>
> Import structured records or request a file upload URL.

> [card] [Complete file import](/docs/api/v2/workflow-imports-complete.md)
>
> Confirm upload and queue file import processing.

> [card] [Get import status](/docs/api/v2/workflow-imports-get.md)
>
> Poll import progress and get resulting table IDs.

## Research

> [card] [List research columns](/docs/api/v2/workflow-research-columns.md)
>
> Discover existing research field keys for a table.

> [card] [Start research run](/docs/api/v2/workflow-research-start.md)
>
> Start a research run for contacts or custom fields.

> [card] [Get research run](/docs/api/v2/workflow-research-get.md)
>
> Poll progress and read current results.

## Contacts

> [card] [Get contacts](/docs/api/v2/workflow-contacts-get.md)
>
> Read contacts for a table item by field key.

> [card] [Update contacts](/docs/api/v2/workflow-contacts-update.md)
>
> Replace the contacts for a table item by field key.

## Smart outreach

> [card] [Get outreach plan](/docs/api/v2/workflow-outreach-get.md)
>
> Read ownership version and schedules before starting.

> [card] [Start outreach](/docs/api/v2/workflow-outreach-start.md)
>
> Start smart outreach for selected rows.

> [card] [Stop outreach](/docs/api/v2/workflow-outreach-stop.md)
>
> Stop a smart outreach plan.

> [card] [Batch outreach statuses](/docs/api/v2/workflow-outreach-statuses.md)
>
> Get per-item dispatch status.

> [card] [Get outreach item targets](/docs/api/v2/workflow-outreach-item.md)
>
> Get targets for a single item.

> [card] [Get outreach draft](/docs/api/v2/workflow-outreach-draft-get.md)
>
> Read a pending draft.

> [card] [Update outreach draft](/docs/api/v2/workflow-outreach-draft-update.md)
>
> Edit a pending draft subject, body, or schedule.

> [!NOTE]
>
> MCP registration follows deployed API validation.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.