GET
/api/messages/{msgId}/info
Retrieves detailed information about a specific message, such as its content, sender, receiver, status and timestamps.
Get Message Info
Retrieves detailed information about a specific message, such as its content, sender, receiver, status and timestamps.
Status Codes
Status Code | Description | Explanation |
---|---|---|
0 | ERROR | The message failed to send due to an error. |
1 | PENDING | The message is queued and waiting to be sent. |
2 | SENT | The message has been sent from the server but not yet delivered. |
3 | DELIVERED | The message has reached the recipient’s device. |
4 | READ | The recipient has opened and read the message. |
5 | PLAYED | The recipient has played the media message (e.g., audio or video). |
Parameters
Name | Type | Required | Description |
---|---|---|---|
msgId | integer | Yes | The ID of the message to retrieve information for its returned from send-message endpoints. |
Code Examples
curl "https://www.wasenderapi.com/api/messages/{msgId}/info"
-H "Authorization: Bearer YOUR_API_KEY"
Response Examples
{
"success": true,
"data": {
"remoteJid": "[email protected]",
"id": "EN82FV0387IVR54JTE2R1",
"msgId": 100000,
"key": {
"id": "EN82FV0387IVR54JTE2R1",
"fromMe": true,
"remoteJid": "[email protected]"
},
"message": {
"extendedTextMessage": {
"text": "quoted",
"contextInfo": {
"stanzaId": "SNE5U4M5OSPWHXHN1WBGV",
"participant": "[email protected]",
"quotedMessage": {
"extendedTextMessage": {
"text": "quoted"
}
}
}
}
},
"messageTimestamp": "1751297488",
"status": 2
}
}