get
http://api-conserver.onlinesim.io/stubs/handler_api.php?action=getRentStatusGET /stubs/handler_api.php?action=getRentStatus
Get rent operation status
This request returns a list of SMS received on a rental virtual number.
You might want to use this request to check the received message on a specified rental number to process this data in your application.
Security
Parameters
query2
| Name | Type | Description |
|---|---|---|
action* | string | Method name, in this case Enum: getRentStatusDefault:getRentStatus |
id* | integer | Operation ID (assigned upon order, according to getRentList) Example: 10000 |
Responses
200Successful getRentStatus response from the server: either
returns a list of received messages by the specified virtual rental
number or throws an exception.
Successful getRentStatus response from the server: either
returns a list of received messages by the specified virtual rental
number or throws an exception.
Content-Type
application/jsonSchema
Responseobject
Responseobject
statusstring
quantityinteger
valuesobject
valuesobject
#sms_index#object
#sms_index#object
phoneFromstring
textstring
servicestring
datestring
Examples
List of received messages example response
{
"status": "success",
"quantity": 1,
"values": {
"#sms_index#": {
"phoneFrom": "+79089102030",
"text": "Your verification code is 070501",
"service": "twitter",
"date": "2021-02-02T14:46:49+03:00"
}
}
}Code Samples
Generating examples...