curl --request POST \
--url https://app.kapso.ai/api/v1/whatsapp_broadcasts/{broadcast_id}/recipients \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"recipients": [
{
"phone_number": "+14155550123",
"template_parameters": [
"John",
"50% off"
]
},
{
"phone_number": "+14155550124",
"template_parameters": [
"Jane",
"40% off"
]
}
]
}
'{
"data": {
"added": 500,
"duplicates": 0,
"errors": []
}
}WhatsApp Broadcasts
Add recipients (batch)
Bulk-add recipients to a draft broadcast.
Constraints:
- Accepts up to 1,000 recipients per request
- Broadcast must be in draft status
- Phone numbers are normalized to E.164 format without + prefix
Template Parameters:
- Array format for positional parameters:
["Param1", "Param2"] - Object format for named parameters with support for media headers:
{ "first_name": "Alicia", "discount_code": "JULY25", "header_url": "https://example.com/image.jpg", "header_filename": "promo.jpg" }
POST
/
whatsapp_broadcasts
/
{broadcast_id}
/
recipients
curl --request POST \
--url https://app.kapso.ai/api/v1/whatsapp_broadcasts/{broadcast_id}/recipients \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"recipients": [
{
"phone_number": "+14155550123",
"template_parameters": [
"John",
"50% off"
]
},
{
"phone_number": "+14155550124",
"template_parameters": [
"Jane",
"40% off"
]
}
]
}
'{
"data": {
"added": 500,
"duplicates": 0,
"errors": []
}
}Authorizations
Your project API key
Path Parameters
Body
application/json
Maximum array length:
1000Show child attributes
Show child attributes
Response
Recipients added (with summary of successes/failures)
Response from batch recipient add operation
Show child attributes
Show child attributes

