Send SMS API
API port description
The API is the interaction protocol between your software and our activation servers. Interaction protocol between servers. In order to automate your SMS receiving process, an API is required. To use the API you must use your API key, our software is fully compatible with competitor websites
All requests must go to http(s)://lubansms.com/v2/api/ GET requests. All requests must contain the API key in the form of a token parameter
Send message
Interface: http(s)://lubansms.com/v2/api/bulksms?apikey=YOUR_APIKE&tel_list=8618888888888,8618999999999,8618777777777&type=0&text=Hello&from=Sender
parameter:
tel_list (required): mobile phone number, separated by ",", each submission can send up to 30 numbers (do not use + or 00 before the country code, for example: 8618888888888)
type: It indicates the type of message. Values for type include: 0: plain text (GSM 3.38 character encoding), 1: Unicode (for any other language)
text: The message to send, counted as one message every 153 characters, or every 67 characters for Unicode
from: The sender name that the message will display. If numeric, the maximum length is 18. If alphanumeric, the maximum length is 11.
result
{code: 0, msg: ",814089827255: Submission successful"}
Possible errors
{"code":400,"msg":"Incorrect apikey"}