Create SMS Campaign

Send bulk messages to multiple recipients.

  • Endpoint: POST /messages/bulk

  • Description: Sends a message to a list of phone numbers in bulk.

Request Parameters:

  • recipients (array of strings, required): List of recipient numbers.

  • message (string, required): The SMS text to send.

Request Example:

jsonCopy code{
  "recipients": ["+1234567890", "+0987654321"],
  "message": "Welcome to our service!"
}

Response:

jsonCopy code{
  "status": "success",
  "batch_id": "batch001",
  "recipients_sent": 2
}

Last updated