Sends one text from a number of your organisation to 2 to 300 numbers. The API
hands the whole batch to the SMS gateway before it answers. A 201 means that the
gateway took the batch, and status is SENT. When the gateway refuses the batch,
or the API cannot connect to it, the API answers 503 with the status FAILED, and
nothing is sent. Set dlr_url to receive a delivery report for each number.From. from_number must be a number that is allocated to your organisation,
written as your number list shows it, such as 27871234567. Any other number is
rejected with a 400.To. to_number is a list of 2 to 300 South African numbers, in international
format, such as 27821234567, or in local format, such as 0821234567. A number of
another country needs the 00 prefix, such as 00447400123456; without it, the
list is rejected with a 400. The API removes duplicate numbers after it counts the
list. from_number cannot be in the list.Text. text holds up to 800 characters. One segment holds 160 GSM-7 characters,
and each segment of a longer text holds 153. A few characters, such as € and {,
count as two. A text with a character outside the GSM-7 alphabet, such as an emoji,
needs unicode_encoding set to true, and then a segment holds 70 characters, or 67
in a longer text. Most emoji count as two. Without it, such a text is rejected with
a 400. At most 5 segments are sent, and the rest of a longer text is cut off.
sms_count in the answer is the number of segments of the whole batch: the segments
of the text, for each number.