When to Use Campaigns
Campaigns are ideal whenever you need to reach many people at once with targeted, timely content:- Promotions & Offers — Announce discounts, flash sales, or exclusive deals to your customer list.
- Product Launches — Notify subscribers the moment something new goes live.
- Event Reminders — Send automated reminders for webinars, appointments, or in-person events.
- Newsletters & Updates — Keep your audience informed with regular company or product news.
- Service Alerts — Broadcast scheduled maintenance windows, outage notices, or important policy changes.
Send a Bulk Campaign
Use the/v1/sms/bulk endpoint to send a campaign. Pass an array of recipient objects — each with its own to and message fields — along with your Sender ID.
batch_id uniquely identifies your campaign. Use it to retrieve delivery reports for the entire batch.
Personalization
Because each entry in themessages array is its own object, you can fully customize the content for every recipient. Merge in first names, account details, order numbers, expiry dates — anything that makes your message feel personal.
messages array dynamically in your application by iterating over your contacts list and interpolating each recipient’s data before making the API request.
Campaign Limits
There is no hard cap on standard campaign sizes. For very large sends — 100,000 recipients or more — contact the Hany support team before dispatching. The team can help you schedule your campaign during optimal delivery windows, ensure your account has sufficient credits, and provide dedicated throughput for time-sensitive blasts.
Tracking Campaign Delivery
After you dispatch a campaign, Hany tracks the delivery status of every message in the batch. You have two ways to monitor results:- Dashboard — Go to SMS → Campaigns and select your batch by its
batch_idto see a real-time breakdown of delivered, pending, and failed messages. - Webhooks — Add a
callback_urlfield at the top level of your request body. Hany willPOSTa delivery update to that URL whenever the status of any message in the batch changes.