Skip to main content

Overview

Using this API set, you can send a message (broadcast) to multiple customers at once on behalf of one of your staff members via the Diyalog platform, and track the status of the messages you send.

Unlike the SimplePush API, broadcast messages are sent through the Diyalog messaging system. The message is delivered as a text message to the one-to-one (private) conversation between the specified staff member and each customer, and appears in the customer's Diyalog conversation history.

How broadcast works#
  • The staff member and customers are identified by their user numbers in your system. The staff member and customers must already be registered in the Diyalog system.
  • A single broadcast request can contain at most 50 customer numbers.
  • When a broadcastmesssage request is received, Diyalog saves the request, returns a broadcastId to you, and starts the sending process asynchronously in the background. A successful API response does not mean the messages have been delivered to the customers.
  • Messages are sent to customers sequentially in groups of 5.
  • If a customer communication consent (marketing SMS consent) service is configured for your organization, the message is sent only to customers who have consent. The message is not sent to customers who do not have consent, whose consent record cannot be found, or whose consent cannot be checked because the consent service is unreachable; an error record is created for each such customer.
  • The sending result is recorded separately for each customer. You can query these results with the getbroadcastmesssagestatus API.
  • All requests are written to the audit log.
The following APIs are available for broadcast.#