Message status
Example of a request to get the status of a message.
URI: /api/json.php
All requests to API are sent in JSON format using the POST method.
Header parameters
Requests must contain header Content-Type: application/json, otherwise, the request will be considered invalid even if it has valid JSON.
Request example
{
"auth": "bb56a4369eb19***cfec6d1776bd25",
"data": [
{
"type": "status",
"id": 100500
}
]
}
Response parameters
Response examples
- Successful
- Access denied
HTTP Status Code: 200
Content Type: JSON application/json
{
"success": true,
"data": [
{
"success": true,
"data": {
"id":10500,
"type": "viber",
"status": "READ"
}
}
]
}
HTTP Status Code: 200
Content Type: JSON application/json
{
"success": false,
"error": "Access denied"
}