POST request
POST request to get message status
POST
http://lk.mysmpp.ru/json/state.php
Headers
Name | Type | Description |
---|---|---|
Content-type* | String |
|
Request Body
Name | Type | Description |
---|---|---|
login* | String | Your login in the system |
password* | String | Your password in the system |
token* | String | You can use a secret key instead of login and password. To obtain it, please contact your manager. |
id_sms* | Int | SMS message number received in the response JSON-document in the process of sending SMS message |
detail* | Int | 0 or 1 in case it is necessary to receive the number of parts and the price for one part by SMS |
Deciphering parameters in query responses
Parameter | Data type | Description |
---|---|---|
id_sms | Int | SMS message number received in the response JSON-document in the process of sending SMS message |
time_change_state | String | Time of message status change |
state | String | Last message status:
|
num_parts | Int | Number of SMS parts |
price | Int | Price per SMS part |
error | String | The error text can take the following values:
|
Example of SMS status request
Last updated