GET /viber/{id}
Where {id} – ID of the entry received from the /viber/create method.
GET /viber/reference/{reference}
Where {reference} – external message ID
In the response, a JSON will be received, having approximately the following structure:
{
"error": "0",
"msisdn": "85226010227",
"reference": "12erdgm9",
"time_in": "2016-01-01 00:00:01",
"time_sent": "2016-01-01 00:00:02",
"time_dr": "2016-01-01 00:01:01",
"status": "read",
"price": "0.02",
"currency": "EUR"
}
If the data contains an error, the response will be returned approximately as follows:
{
"error":"40","errorDescription":"Message not found"
}