send_sms

To send an SMS, use the following method:

Copied!
svc=user/send_sms&params={"phoneNumber":"<text>",
			  "smsText":"<text>"}

Parameters

The required parameters are marked with an asterisk (*).

Name Description
phoneNumber* Phone number.
smsText* Message text.

Response

Copied!
{
	"hash":"<text>" /* returns an SMS GUID if sending is successful */
}

Error codes

Error code Value
6 Error sending SMS, or the user can’t send SMS.
4 Incorrect parameter.

If you find a mistake in the text, please select it and press Ctrl+Enter.