send_sms

To send an SMS, use the following command:

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.

4Incorrect parameter.
Download PDF file
Download Word document

See also