curl --request POST \
--url https://apibroadcast.beem.africa/v1/broadcast/template/api-send \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"from_addr": "2557******45",
"destination_addr": [
{
"phoneNumber": "2547******06",
"params": [
"John"
]
}
],
"channel": "whatsapp",
"content": {
"mediaUrl": "https://example.com/image.jpg"
},
"messageTemplateData": {
"id": 1024
}
}
'{
"data": {
"statusCode": 123,
"successful": true,
"message": "<string>",
"jobId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"validation": {},
"credits": {}
}
}MOJA Broadcast API
Send template message
Send an approved WhatsApp template to one or more recipients.
POST
/
v1
/
broadcast
/
template
/
api-send
curl --request POST \
--url https://apibroadcast.beem.africa/v1/broadcast/template/api-send \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"from_addr": "2557******45",
"destination_addr": [
{
"phoneNumber": "2547******06",
"params": [
"John"
]
}
],
"channel": "whatsapp",
"content": {
"mediaUrl": "https://example.com/image.jpg"
},
"messageTemplateData": {
"id": 1024
}
}
'{
"data": {
"statusCode": 123,
"successful": true,
"message": "<string>",
"jobId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"validation": {},
"credits": {}
}
}Authorizations
basicAuthaccessToken
Body
application/json
