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

# Add prospects for a campaign

Verify selected prospects by name and email for a campaign in review mode and save them to CRM, using workspace allowances. The campaign sets screening. Pass addToCampaign: true only when the user asks to add them to the campaign; verified people are then added with empty messages. It never drafts; draft added prospects with prepare\_messages. Returns the run ID; follow its progress with campaign\_read get\_run.

**Tool:** `campaign_write` · **Method:** `add_prospects`

Hosted OAuth MCP, local MCP, and REST API.

Each person needs a real name and email. Importing into a campaign verifies contacts and uses allowances. With addToCampaign: true, verified people are enrolled with empty messages. Without it, they are saved to CRM only. This operation never drafts or approves email.

## Example

All IDs, addresses and revisions below are illustrative. Replace them with values read from your workspace.

> [tab] MCP
>
> ```json theme={null}
> {
>   "name": "campaign_write",
>   "arguments": {
>     "method": "add_prospects",
>     "campaignId": "11111111-1111-4111-8111-111111111111",
>     "campaignRevision": 3,
>     "people": [
>       {
>         "name": "Jordan Lee",
>         "email": "jordan@example.com"
>       }
>     ],
>     "addToCampaign": true
>   }
> }
> ```

> [tab] REST
>
> ```bash theme={null}
> curl https://api.vsyble.com/v1/outreach \
>   --request POST \
>   --header "Content-Type: application/json" \
>   --header "X-Vsyble-Api-Key: $VSYBLE_API_KEY" \
>   --data '{
>   "action": "addProspects",
>   "campaignId": "11111111-1111-4111-8111-111111111111",
>   "campaignRevision": 3,
>   "people": [
>     {
>       "name": "Jordan Lee",
>       "email": "jordan@example.com"
>     }
>   ],
>   "addToCampaign": true
> }'
> ```

## Inputs

| Field | Type | Requirement | Details |
| - | - | - | - |
| `organizationId` | string | Optional | Workspace ID. Omit to use your current workspace. Format: uuid. |
| `campaignId` | string | Required | Format: uuid. |
| `campaignRevision` | integer | Required | Minimum: 1. Maximum: 2147483647. |
| `people` | object\[] | Required | Minimum items: 1. Maximum items: 50. |
| `people[].name` | string | Required | Minimum length: 1. Maximum length: 200. |
| `people[].email` | string | Required | Format: email. Maximum length: 320. |
| `people[].firstName` | string | Optional | Maximum length: 100. |
| `people[].title` | string | Optional | Maximum length: 200. |
| `people[].company` | string | Optional | Maximum length: 200. |
| `people[].companyDomain` | string | Optional | Maximum length: 253. |
| `people[].linkedinUrl` | string | Optional | Format: uri. Maximum length: 500. |
| `people[].summary` | string | Optional | Maximum length: 2000. |
| `people[].evidence` | object\[] | Optional | Maximum items: 3. |
| `people[].evidence[].label` | string | Optional | Minimum length: 1. Maximum length: 180. |
| `people[].evidence[].url` | string | Optional | Format: uri. Maximum length: 2000. |
| `people[].evidence[].observation` | string | Optional | Minimum length: 1. Maximum length: 700. |
| `people[].evidence[].publishedAt` | string or null | Optional | |
| `addToCampaign` | boolean | Optional | Default: false. |

For MCP, add `method: add_prospects` alongside these fields. For REST, use `action: addProspects` instead of method.

Fields inside an optional object are required only when that object is provided. Do not send fields from a different method.

## Result

MCP returns the following projected schema as structured content and JSON text. The REST response may contain additional fields; do not rely on undocumented fields.

> [accordion] Response schema
>
> ```json theme={null}
> {
>   "$schema": "https://json-schema.org/draft/2020-12/schema",
>   "type": "object",
>   "properties": {
>     "run": {
>       "type": "object",
>       "properties": {
>         "id": {
>           "type": [
>             "string",
>             "null"
>           ]
>         },
>         "status": {
>           "type": [
>             "string",
>             "null"
>           ]
>         },
>         "campaignId": {
>           "type": [
>             "string",
>             "null"
>           ]
>         },
>         "campaignRevision": {
>           "type": [
>             "number",
>             "null"
>           ]
>         }
>       },
>       "additionalProperties": false
>     },
>     "next": {
>       "type": [
>         "string",
>         "null"
>       ]
>     }
>   },
>   "additionalProperties": false
> }
> ```

[Download input schema](https://docs.vsyble.com/schemas/add_prospects.input.json) · [Download MCP response schema](https://docs.vsyble.com/schemas/add_prospects.output.json)

See [permissions](https://docs.vsyble.com/security/permissions.md), [errors and recovery](https://docs.vsyble.com/api/errors.md), and [sending approval](https://docs.vsyble.com/security/sending.md).


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