Developer Docs

Table of contents

Retrieving Viber message statuses

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"

We use cookies (and other similar technologies) to collect data to improve your experience on our site. By using our website, you’re agreeing to the collection of data as described in our Website Data Collection Policy.