curl -X POST https://app.tracklysms.com/api/v2/send/bulk \ -H "X-Api-Key: trk_your_api_key_here" \ -H "Content-Type: application/json" \ -d '{ "messages": [ { "to": "+14155551234", "list_number": "+18005551000", "body": "Your promo code is SAVE20. Ref: {{messageId}}" }, { "to": "+14155559876", "list_number": "+18005551000", "body": "Your promo code is SAVE20. Ref: {{messageId}}" } ] }'
{ "queued_count": 2, "error_count": 0, "errors": [] }
Send multiple SMS messages in a single bulk request.
Show Message object fields
+14155551234
{{messageId}}
true
first_name
last_name
custom_fields
timezone
Show Error object fields
messages
missing_messages
too_many_messages
missing_to
to
missing_list_number
list_number
missing_body
body
invalid_phone
invalid_list_number
list_not_found