Page tree
Skip to end of metadata
Go to start of metadata


Sends a text message (SMS)

Method parameters

  • string SendSMS(string accessKey, int listID, int smsID, Option[] options)
    • accessKey: access key to check credentials
    • listID: list identifier
    • smsID: ID of the message to be sent
    • options: an array of key/value pairs for options setting
      • from: a string containing the sender mobile number. If not specified, the default value for the list will be used (note: restrictions may apply in some countries and the sender may be overwritten, please contact us for country specific information)
      • send_to: a mandatory string indicating to whom the message will be sent. If send_to=ALL the message is sent to all subscribers, if send_to=RECIPIENTS the message is sent to specific phone numbers, if send_to=GROUPS the message is sent to subscribers to specific groups
      • recipients: a string indicating the recipients of the message. Its content depends on the value assumed by "send_to". If send_to = ALL, "recipients" parameter is ignored and the message is sent to all the recipients in the list; if send_to=RECIPIENTS, "recipients" parameter contains a list of mobile numbers separated by the ";" character; if send_to=GROUPS, the "recipients" parameter contains the IDs of the recipient groups, separated by the "," character (IDs must be passed)
      • exclude: a string containing the IDs of the groups to be excluded from the sending, separated by the ";" character
      • filters: a string containing the IDs of the filters separated by the "," character, to be used to retrieve the recipients of the message
      • filters_as: a string indicating how to apply the filters: if filters_as=AND, all the conditions in the filters have to be met; if filters_as=OR, at least one of them
      • deliverydt: a string containing date and time of scheduled delivery, in the format yyyyMMddHHmmss. If not specified, the sending starts immediately, and in case another sending is in progress the message is queued
      • timezone: an integer indicating the time zone
      • isUnicode: boolean value indicating whether to use Western alphabets only (false), or Eastern alphabets as well, such as Arabic, Russian, Chinese, and so on (true).

If error code=0, the message will contain the ID of the sending


To retrieve filter ID in MailUp admin console you can put your mouse cursor on the "modify filter" button. You will see a tooltip (usually in the bottom left button of your page) that has the following format: http://consoleHostName/console/form_upd_filtro.aspx?id=NN, where NN is the filter ID that you could use when calling SendSMS method


SOAP Examples


SOAP request
<soapenv:Envelope xmlns:soapenv="" xmlns:ws="">
	<!--Use accessKey value that is returned by LoginFromId method-->
SOAP response
	<deliveryStatus>Sending in progress</deliveryStatus>
  • No labels