> ## 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.

# Find prospects for a campaign

Find and verify prospects that fit a campaign in human review mode and save them to CRM. The campaign sets targeting and screening. Pass addToCampaign: true only when the user asks to add them to the campaign; they are then added with empty messages. It never drafts; draft added prospects with prepare\_messages. Defaults to 10 prospects and accepts up to 100, subject to the workspace's prospecting allowance. Returns the run ID and status; follow its progress with campaign\_read get\_run.

**Tool:** `campaign_write` · **Method:** `find_prospects`

Hosted OAuth MCP, local MCP, and REST API.

The campaign must use human review. By default, verified prospects are saved to CRM only. Set addToCampaign: true only when the user asks to enroll them; messages remain unwritten. Inspect get\_run until terminal, then prepare\_messages if requested.

## 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": "find_prospects",
>     "campaignId": "11111111-1111-4111-8111-111111111111",
>     "campaignRevision": 3,
>     "targetCount": 10,
>     "addToCampaign": false
>   }
> }
> ```

> [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": "findProspects",
>   "campaignId": "11111111-1111-4111-8111-111111111111",
>   "campaignRevision": 3,
>   "targetCount": 10,
>   "addToCampaign": false
> }'
> ```

## 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. |
| `targetCount` | integer | Optional | Default: 10. Minimum: 1. Maximum: 100. |
| `addToCampaign` | boolean | Optional | Default: false. |

For MCP, add `method: find_prospects` alongside these fields. For REST, use `action: findProspects` 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/find_prospects.input.json) · [Download MCP response schema](https://docs.vsyble.com/schemas/find_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.