Skip to main content
POST
/
whatsapp
/
broadcasts
/
{broadcast_id}
/
recipients
curl --request POST \
--url https://api.kapso.ai/platform/v1/whatsapp/broadcasts/{broadcast_id}/recipients \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"whatsapp_broadcast": {
"recipients": [
{
"phone_number": "+14155550123",
"template_parameters": [
"John",
"SAVE50"
]
},
{
"phone_number": "+14155550124",
"template_parameters": [
"Jane",
"SAVE40"
]
}
]
}
}'
{
  "data": {
    "added": 495,
    "duplicates": 5,
    "errors": [
      "Recipient 3: template parameters invalid - requires 2 parameters but got 1",
      "Recipient 7: invalid phone number format"
    ]
  }
}

Authorizations

X-API-Key
string
header
required

Path Parameters

broadcast_id
string<uuid>
required

Body

application/json
whatsapp_broadcast
object
required

Response

Added

data
object
required