CG๛ALPHAッ
12/05/2025, 7:00 PMVapi Support Bot
12/05/2025, 7:01 PMjson
{
"name": "Q2 Sales Campaign",
"phoneNumberId": "your_phone_number_id",
"customers": [
{
"number": "+1234567890",
"name": "John Doe",
"email": "john@example.com"
// add other fields as needed
}
]
}
Make sure your CSV import maps each column to the corresponding property in the customers array before making the API call. See the [API documentation](https://docs.vapi.ai/api-reference/campaigns/campaign-controller-create?explorer=true) for all available fields.
Source:
- [Create Campaign API documentation](https://docs.vapi.ai/api-reference/campaigns/campaign-controller-create?explorer=true)CG๛ALPHAッ
12/05/2025, 7:05 PM{
"assistantId": "a750022f-dfaa-4525-acef-4af9382f8449",
"phoneNumberId": "f7d61175-3d61-4eac-aad9-9d5200754609",
"customer": {
"number": "+1{{contact.phone}}",
"name": "{{contact.first_name}} {{contact.last_name}}"
},
"assistantOverrides": {
"variableValues": {
"ghlContactId": "{{contact.id}}",
"ghlFirstName": "{{contact.first_name}}",
"ghlLastName": "{{contact.last_name}}",
"ghlEmail": "{{contact.email}}",
"campaign": "old-number-reactivation"
}
}
}Vapi Support Bot
12/05/2025, 7:06 PMjson
{
"assistantId": "a750022f-dfaa-4525-acef-4af9382f8449",
"phoneNumberId": "f7d61175-3d61-4eac-aad9-9d5200754609",
"customers": [
{
"number": "+1{{contact.phone}}",
"name": "{{contact.first_name}} {{contact.last_name}}",
"email": "{{contact.email}}"
// add other fields as needed
}
],
"assistantOverrides": {
"variableValues": {
"ghlContactId": "{{contact.id}}",
"ghlFirstName": "{{contact.first_name}}",
"ghlLastName": "{{contact.last_name}}",
"ghlEmail": "{{contact.email}}",
"campaign": "old-number-reactivation"
}
}
}
Update your request to use "customers" (plural) as shown above to ensure all details from your CSV are included.
See the [API documentation](https://docs.vapi.ai/api-reference/campaigns/campaign-controller-create?explorer=true) for more details.
Source:
- [Create Campaign API documentation](https://docs.vapi.ai/api-reference/campaigns/campaign-controller-create?explorer=true)CG๛ALPHAッ
12/05/2025, 7:07 PMVapi Support Bot
12/05/2025, 7:09 PMjson
"customers": [
{
"number": "+1{{contact.phone}}",
"name": "{{contact.first_name}} {{contact.last_name}}"
}
],
"assistantOverrides": {
"variableValues": {
"name": "{{contact.first_name}} {{contact.last_name}}"
}
}
Then, in your assistant's greeting prompt, use:
Hi {{name}}, how can I help you?
See the [API documentation](https://docs.vapi.ai/api-reference/campaigns/campaign-controller-create?explorer=true) for more details.
Source:
- [Create Campaign API documentation](https://docs.vapi.ai/api-reference/campaigns/campaign-controller-create?explorer=true)Chiranjeet Mishra
12/09/2025, 2:38 AM"customers" array. Each customer object should contain all relevant fields like this:
json
{
"assistantId": "a750022f-dfaa-4525-acef-4af9382f8449",
"phoneNumberId": "f7d61175-3d61-4eac-aad9-9d5200754609",
"customers": [
{
"number": "+1234567890",
"name": "John Doe",
"email": "john@example.com"
// add other fields as needed
}
],
"assistantOverrides": {
"variableValues": {
"name": "John Doe",
"email": "john@example.com",
"campaign": "old-number-reactivation"
}
}
}
Ensure that in your assistant's prompt, you are using the variables like {{name}}. Double-check that your CSV import maps each column to the correct property in the customers array.
For further details, refer to the [Create Campaign API documentation](https://docs.vapi.ai/api-reference/campaigns/campaign-controller-create?explorer=true).