Distribution lists

Sending messages to distribution lists

Sending a message to a distribution list is straightforward. The important key is the distribution list’s MRI. This will result in the response of 202 Accepted and the message will be sent to all distribution list participants.

  • JSON
  • XML

Sending messages to distribution lists

The API call is a POST request to the /messages endpoint.


POST https://api.<region>.whispir.com/messages?apikey=[your_api_key]

Authorization: Basic asdf98nf89asdvasd2r398h8sdf

x-api-key: your_api_key

Content-Type: application/vnd.whispir.message-v1+json


"to" : "Docs_Distribution_List.company@list.company.whispir.sg",

"subject" : "Simple SMS to list of contacts in the distribution list",

"body" : "This is the content of my sample SMS message."