It is a mechanism to directly retrieve the status of sent messages. It allows you to get relevant information like the amount of read messages of your individual, bulk messages, or your campaign.
By using notifications you can notice the user behavior and use that information to improve your marketing campaign or choose a better message type to be more accurate in your messages. You can obtain specific information from a notification ID or all Notifications to populate your database or your Control Dashboard to make better decisions or take action afterward.
The total number of records and pagination information are returned in the 'pagination' object. The 'results' array describes the deliveries that match the search parameters. Statistics classified by their respective delivery states are contained in the '_metadata' object.
{"message": ["The Bot could not be found at the moment." ],"statusMessage":"failed","status":0,"error": {"code":"E1019","key":"BOT_NOT_FOUND","description":"Error to be thrown when trying to get a Bot.","developerMessages": {"es":"El botId no se encuentra en la base de datos o ha sido eliminado.","en":"The botId is not found in the database or has been deleted.","pt":"A botId não é encontrada no banco de dados ou foi apagada." },"clientMessages": {"es":"El Bot no se pudo encontrar por el momento.","en":"The Bot could not be found at the moment.","pt":"A Bot não pôde ser encontrada no momento." } }}
Error that occurs when an entered parameter is not of the correct type or the entered value is not allowed.
{"message": ["Los valores ingresados no son correctos." ],"statusMessage":"failed","status":0,"error": {"code":"E0422","key":"VALIDATOR_ERROR","description":"Error to be thrown when cannot process request because of incoming values","developerMessages": {"es":"Los valores del request no son correctos para ser procesados.","en":"The request values are not correct for processing." },"clientMessages": {"es":"Los valores ingresados no son correctos.","en":"The values entered are not correct." } },"validationError": {"from": ["the from field must follow this format: YYYY-MM-DD HH:mm:ss" ] }}
Server Error
{"message": ["We are having trouble processing your request. Please try again later." ],"statusMessage":"failed","status":0,"error": {"code":"E0000","key":"UNKNOWN_ERROR","description":"Error to be thrown when it couldn't be determined the reason of failure","developerMessages": {"es":"Error inesperado occurido, revisar logs.","en":"Unexpected error occurred, check logs." },"clientMessages": {"es":"Estamos teniendo problemas procesando la solicitud. Por favor intenta mas tarde.","en":"We are having trouble processing your request. Please try again later." } }}
Message Status List
DELIVERED_CHANNEL
Message was received by Whatsapp
DELIVERED_USER
Message was received by the User
READ
Message was read by the User
REPLY
Message was reply by the User
CREATED
Message was received by Jelou
FAILED
Message failed
Message Read Status
Status
Description
true
Message was read by the User
false
Message has not been read by the User
Sample API Responses
The payload contains the following fields:
Field
Description
status
Delivery status of the template.
timestamp
Date of the event in milliseconds (ms).
destination
User's phone number.
id
ID of the message.
error
Reason for the template delivery failure. Available when the status is "FAILED".
reply
User's response. Available when the status is "REPLY"
{"status":"FAILED","timestamp":1672160621946,"isFinalEvent":true,"destination":"593912345678","id":"86e9e0e5-123-4ef6-567-ab42363910","error":"Number Does Not Exists On WhatsApp"}