This shows you the differences between two versions of the page.
en:sidebar:remoteapi:apiref:user:send_sms [28/01/2013 08:58] zuve |
en:sidebar:remoteapi:apiref:user:send_sms [29/11/2013 13:31] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{indexmenu_n>6}} | ||
- | ====== Send SMS ====== | ||
- | To send SMS use command **user/send_sms**: | ||
- | <code javascript> | ||
- | svc=user/send_sms¶ms={"phoneNumber":<text>, | ||
- | "smsText":<text>} | ||
- | </code> | ||
- | |||
- | ===== Parameters ===== | ||
- | ^ Name ^ Description ^ | ||
- | | phoneNumber | phone number | | ||
- | | smsText | text of SMS | | ||
- | |||
- | ===== Response ===== | ||
- | <code javascript> | ||
- | {} /* empty object if execution successful, if not - error code */ | ||
- | </code> | ||
- | |||
- | ===== Errors ===== | ||
- | ^ Code ^ Value ^ | ||
- | | 6 | error sending SMS | |
|