Actions53
- Account Actions
- Contact Actions
- Group Actions
- Message Actions
- Session Actions
Account → Get Message Logs
AI-generatedOverview
This node operation retrieves message logs for a specified WhatsApp session using the WasenderAPI. It allows users to fetch logs filtered by message status (e.g., sent, failed, in progress) and supports pagination and limiting the number of results. This is useful for monitoring message delivery and troubleshooting communication issues in WhatsApp sessions.
Use Case Examples
- A user wants to review all sent and failed messages for a particular WhatsApp session to analyze delivery performance.
- A business needs to fetch the latest 50 message logs to audit communication history for compliance purposes.
Properties
| Name | Meaning |
|---|---|
| Session | The WhatsApp session ID from which to retrieve message logs. It can be selected from a list or entered manually by ID. |
| Return All | Whether to return all message logs or limit the results to a specified number. |
| Limit | The maximum number of message logs to return when 'Return All' is false. |
| Page | The page number of results to retrieve when pagination is used and 'Return All' is false. |
| Status | Filter message logs by their status, such as all, sent, failed, or in progress. |
Output
JSON
messageId- Unique identifier of the message log entry.status- Status of the message (e.g., sent, failed, in progress).timestamp- Timestamp when the message log entry was recorded.content- Content or summary of the message logged.
Dependencies
- WasenderAPI service with an API key credential
Troubleshooting
- Ensure the session ID is valid and the session is active to retrieve message logs successfully.
- If no logs are returned, verify the status filter and pagination settings.
- Common errors include invalid session ID or API request failures; check API credentials and network connectivity.
Links
- WasenderAPI Message Logs Documentation - Official API documentation for retrieving message logs from WasenderAPI.