Authorization: Bearer ********************{
"account_id": "Your account ID found in the Integration menu",
"to": "Recipient's phone number (Example: 08123456789)",
"header": "Optional: Use a variable for the header. Accepts text, image URL, video URL (only .3gp or .mp4 with a max size of 16MB), or document URL (with a max size of 100MB). Examples: Video - https://example.com/storage/video.mp4, Document - https://example.com/storage/document.pdf",
"body": [
"Optional: Use one or more variables in the body. Separate multiple variables with a comma (,)"
],
"template_uid": "Template UID found in the Template menu"
}
curl --location --request POST 'https://dashboard.jagel.co/api/v1/campaigns/whatsapp/direct' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"account_id": "Your account ID found in the Integration menu",
"to": "Recipient'\''s phone number (Example: 08123456789)",
"header": "Optional: Use a variable for the header. Accepts text, image URL, video URL (only .3gp or .mp4 with a max size of 16MB), or document URL (with a max size of 100MB). Examples: Video - https://example.com/storage/video.mp4, Document - https://example.com/storage/document.pdf",
"body": [
"Optional: Use one or more variables in the body. Separate multiple variables with a comma (,)"
],
"template_uid": "Template UID found in the Template menu"
}'{
"success": true,
"message": "Request is processed successfully",
"errors": [],
"data": "Broadcast Sent Successfully"
}