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

# Add Single Prospect

> Adds a single prospect to a campaign

## Overview

Add an individual prospect to a campaign. Prospect imports are processed asynchronously: the response includes a `listId` that you can use to check processing status.

## Request body

| Field        | Type      | Required | Description                                                                                                           |
| ------------ | --------- | -------- | --------------------------------------------------------------------------------------------------------------------- |
| `campaignId` | `string`  | Yes      | Campaign ID that should receive the prospect                                                                          |
| `name`       | `string`  | Yes      | Prospect full name                                                                                                    |
| `url`        | `string`  | Yes      | LinkedIn profile URL                                                                                                  |
| `ongoing`    | `boolean` | No       | Whether the conversation should start as ongoing. Defaults to `false`                                                 |
| `customData` | `string`  | No       | Per-conversation context, max 3000 characters. Saved on the created chat and available in prompts as `{{customData}}` |

## Prompt personalization

Use `customData` for context that should be unique to this imported conversation, for example the action that qualified the lead.

In your prompt, reference it with:

```text theme={null}
{{customData}}
```

## Example

```bash theme={null}
curl -X POST "https://api.kakiyo.com/v1/prospects" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "campaignId": "campaign_12345abcde",
    "name": "John Smith",
    "url": "https://linkedin.com/in/johnsmith",
    "customData": "John commented on Liam's LinkedIn post about AI outbound. Use this as the opening context."
  }'
```

```javascript theme={null}
const response = await fetch('https://api.kakiyo.com/v1/prospects', {
  method: 'POST',
  headers: {
    Authorization: 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    campaignId: 'campaign_12345abcde',
    name: 'John Smith',
    url: 'https://linkedin.com/in/johnsmith',
    customData: "John commented on Liam's LinkedIn post about AI outbound. Use this as the opening context.",
  }),
});

const result = await response.json();
console.log(result.listId);
```

## Response

```json theme={null}
{
  "message": "Prospect added successfully",
  "listId": "import_list_id"
}
```

Use [Prospect Import Status](/api-reference/prospects/import-status) to confirm that the chat was created before marking the prospect as fully imported in your system.

## Best practices

* Keep `customData` concise and directly useful for the AI prompt.
* Do not include secrets or sensitive private data.
* Confirm import completion with the import status endpoint; creation is asynchronous.


## OpenAPI

````yaml POST /prospects
openapi: 3.1.0
info:
  title: Kakiyo API
  description: API for automating LinkedIn outreach campaigns with AI-powered conversations
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.kakiyo.com/v1
security:
  - bearerAuth: []
paths:
  /prospects:
    post:
      summary: Add Single Prospect
      description: Adds a single prospect to a campaign
      operationId: addProspect
      requestBody:
        description: Prospect to add
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddProspectRequest'
        required: true
      responses:
        '201':
          description: Prospect added successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Prospect added successfully
                  listId:
                    type: string
                    example: import_list_id
        '400':
          description: Invalid request parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Campaign not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    AddProspectRequest:
      type: object
      required:
        - campaignId
        - name
        - url
      properties:
        campaignId:
          type: string
          example: campaign_12345abcde
        name:
          type: string
          example: John Smith
        url:
          type: string
          format: uri
          example: https://linkedin.com/in/johnsmith
        customData:
          type: string
          maxLength: 3000
          example: John commented on Liam's LinkedIn post about AI outbound.
    Error:
      type: object
      properties:
        error:
          type: string
          example: validation_error
        message:
          type: string
          example: The request parameters failed validation
        details:
          type: array
          items:
            type: object
            properties:
              field:
                type: string
                example: name
              message:
                type: string
                example: The name field is required
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````