How to Add Prospects To a Campaign via API Using Postman

Last updated: April 10, 2026

In this article, we’re going to explore how to use the POST API endpoint to automatically add prospects to a campaign. 

You can use this with tools like Postman, Zapier, n8n, or your own scripts. In this guide, we’ll walk through the setup using Postman, because it’s one of the easiest ways to manually test API requests.

Where to Find “Add with API”

When you’re creating a new campaign, you can choose Add with API as one of the search types:

  1. Start creating a campaign.

  2. Click Add Search.

  3. Select Add with API from the list of search methods.

Screenshot 2026-03-27 at 12.49.58 PM.png

On this screen, you will see everything you need to make a successful API request:

  • The HTTP method

  • The Endpoint URL (where you’re sending your data)

  • The JSON payload (what you’re sending)

Understanding the API Request Components

The Add with API method uses three key pieces of information:

Component

 

 

What it means

 

 

On the platform

 

 

Method

 

 

The action you’re asking the server to perform.

 

 

POST (you are creating/adding new data).

 

 

Endpoint URL

 

 

The address where your request is sent.

 

 

https://api.lead-updates.ai/public_api/profiles?token=...

 

 

JSON Payload (Body)

 

 

The structured data describing the prospects and options.

 

 

The JSON shown in the large text box below the URL in the UI.

 

 

Tip: Always copy the Endpoint URL and JSON payload directly from the platform to avoid typos or missing fields.

 Setting Up the Request in Postman (Step-by-Step)

If you don’t have Postman yet, you can download the desktop app, or use the web version at Postman’s website.

1. Create a New Request

  1. Open Postman.

  2. Click NewHTTP Request.

  3. In the Method dropdown, select POST.

2. Add the Endpoint URL

  1. Go back to your campaign’s Add with API section on the platform.

  2. Copy the full URL shown there (it starts with https://api.lead-updates.ai ... and contains your unique token parameter).

  3. Paste this URL into the request URL field in Postman.

Important: Your token in the URL is like a password. Do not share it publicly.

3. Configure the JSON Body

Now you’ll tell the platform which prospects to add by sending a JSON body.

  1. In Postman, click the Body tab (under the URL bar).

  2. Select raw.

  3. In the dropdown next to raw, choose JSON.

  4. On the platform, copy the entire JSON structure from the large text box below the URL.

  5. Paste that JSON into the Body area in Postman.

This JSON already contains the correct structure (e.g., profiles array and any other needed fields). You’ll only need to replace the placeholder values with your real data. 

Entering Your Prospect Data

In the JSON you pasted, you’ll see a profiles array. This is where each prospect is defined.

 

You should:

  • Keep the structure and field names exactly as provided on the platform.

  • Replace the example values (like full_name, first_name etc.) with your actual prospect data.

  • Add more objects inside profiles if you want to add multiple prospects in one request.

Tip: If you’re unsure whether your JSON is valid, you can:

  • Use a JSON validator (online), or

  • Use Postman’s built-in JSON preview (it will highlight syntax errors like missing commas or quotes).

Very Important: How We Handle Profile Fields

If the system finds new or updated information on the Social Platform for a prospect, the following fields can be overwritten:

  • first_name

  • last_name

  • full_name

  • company_name

  • university_name

  • position

  • location

  • email

  • website

 

In other words: If you send values for these fields via API, the system may later update/replace them if the Social data is different.

Recommended Best Practice: Use custom_fields + Fallbacks

 To avoid losing your original data:

  • Store critical values in custom_fields instead of only in the standard fields above.

  • In your campaign templates/messages, use fallbacks so that:

    • The system first tries to use your custom_field value.

    • If it’s empty, it falls back to standard fields (like first_name) or default text.

This way:

  • Your manually curated or CRM data stays safe in custom_fields.

  • The Social data enrichment can still happen on the standard fields, without breaking your messaging.

For example, your custom field section may look like this:

"custom_fields": {

  "cf_first_name": "John",

  "cf_company": "Acme Inc.",

  "cf_account_tier": "Enterprise"

}

Sending the Request & Checking the Response

1. Send the Request

In Postman, confirm:

  • Method = POST

    1. URL = your endpoint URL with token

    2. Body = valid JSON, set to raw + JSON type

Click Send.

2. Read the Response

Look at the Response section at the bottom of Postman:

  • Success – HTTP 200 OK

  • Your request was successful and the prospects have been added to your campaign.

  • Error – HTTP 4xx or 5xx

  • Something went wrong. Common issues:

    • Invalid or missing token.

    • Malformed JSON (missing commas, wrong quotes, etc.).

    • Required fields missing from one or more profiles.

 The response body usually contains an error message explaining what went wrong. Use that message to adjust your request.

💡 Troubleshooting tips

  • Compare your JSON again with the template from our platform's UI.

  • Test with just one simple profile first before sending a large list.

  • If you change your token on the platform, make sure you update it in Postman as well.