Get rent list

https://sms-online.pro/stubs/handler_api.php?action=getRentList&api_key=$api_key

Parameters:

Parameters Type Required Description
$api_key string
☑️
API key

Response:

{
  "status": "success",
  "values": {
    "0": {
      "id": "16",
      "phone": "33780736225"
    },
    "1": {
      "id": "17",
      "phone": "33780736226"
    }
  }
}

Error Response:

{
  "status": "error",
  "message": "BAD_KEY"
}

Possible errors:

Mistake Description
BAD_KEY Invalid API key
SERVER_ERROR Server error