To send SMS, use the command user/send_sms:
svc=user/send_sms¶ms={"phoneNumber":<text>, "smsText":<text>}
Name | Description |
---|---|
phoneNumber | phone number |
smsText | message text |
{} /* empty object if execution successful, if not - error code */
Code | Value |
---|---|
1 | invalid session |
2 | invalid service name |
3 | invalid result |
4 | invalid format or value of parameters |
6 | error sending SMS |
7 | no rights to execute operation |
|