Skip to content

SendBulkMessageWithOptions

Sends an SMS message to all the cell numbers provided (maximum of 5000). Returns the number of messages successfully queued, or an error message on failure.

// uses JQuery library
/** NOT CURRENTLY AVAILABLE **/

HTTP Request


ParameterDescriptionLocation
AccountKeyYour Swift SMS Gateway account keyURL
MessageBodyBody of the message to sendBODY
ReferenceInternal Reference IDBODY
CellNumbersArray of cell numbers to deliver SMS messages toBODY
OptionsArray of strings with each containing [key]=[value]BODY

Options

ParameterValueDescriptionIs Default
MsgContentType Send message as ASCII or Unicode
UnicodeSend Unicode Message (allowing the extended character set)
ASCIISend messages using only ASCII charactersYes
SenderIdPhone number of dedicated long code to send your messages from
Reference2Secondary Reference field.

If this is an email address, any replies will be send to this address. This OVERRIDES account settings.

Returns

string

If successful, will return x messages queued successfully

If unsuccessful, will return an error message: (See (SendMessage))