Report push metrics
While this endpoint still works, you should take advantage of our universal metrics endpoint. It supports channels besides push and lets you provide additional information with some metrics.
Use this endpoint to report device-side push metrics—opened, converted, and delivered—back to Customer.io, so you can track the effectiveness of your push notifications. Customer.io has no way of knowing about these metrics, or associating metrics with a specific message, unless you report them back to us.
When Customer.io delivers a push notification, we include CIO-Delivery-ID and CIO-Delivery-Token parameters. Reference these in your payload as the delivery_id and device_id respectively with the type of device-side event metric that you want to associate with your push notification and the person represented by the device_id.
Request body
Example request
{
"delivery_id": "RPILAgUBcRhIBqSfeiIwdIYJKxTY",
"device_id": "CIO-Delivery-Token from the notification",
"timestamp": 1613063089
}Response
The request was received.
Changes
No recorded changes to this endpoint across all 1 revision of this API.