The "Send Date" displayed in your Pushwoosh Control Panel indicates the time when our system began sending your notifications to the respective push service gateways (e.g., APNs for iOS and FCM for Android).
For more detailed timing information, such as the exact start and end times of a push campaign, you can use our API. This is especially useful for measuring the total send duration for large audiences.
To retrieve this data, use the /getMessageLog method of the Statistics API:
- Get the message code. In Campaigns → One-time messages (Message History), open the actions menu (⋮) for the message and choose Copy message code. Messages created via the API also return their code in the
/createMessageresponse. - Send a request to
https://api.pushwoosh.com/api/v2/statistics/getMessageLog. Theapplication_codeparameter is required; pass the message code inmessage_code. - The response contains a detailed log of message events (
sent,delivered,opened, ...), each with a precise timestamp. Uselimitandpagination_tokento page through large logs. - By analysing the timestamps you can determine:
- Start Time: the earliest timestamp in the log.
- End Time: the latest timestamp in the log.
curl --location --request POST 'https://api.pushwoosh.com/api/v2/statistics/getMessageLog' \
--header 'Authorization: Key API_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"application_code": "XXXXX-XXXXX",
"message_code": "A444-AAABBBCC-00112233",
"actions": ["sent"],
"limit": 1000
}'
For complete details, see the developer documentation on the Message Statistics API.
Comments
0 comments
Please sign in to leave a comment.