GET Stats / In-app Messages
Contents
Returns the impression stats for a message
Endpoint URL: https://api.carnivalmobile.com/v6/stats/messages/:message_id/events
Parameters
Name | Type | Required | Definition |
---|---|---|---|
message_id | string | The ID of the message |
Examples
curl -X GET -u :$API_KEY -H 'Accept: application/json' https://api.carnivalmobile.com/v6/stats/messages/$message_id/events
Result Format
200 OK
{
"full_screen_impressions": 1,
"message_stream_impressions": 10,
"in_app_notification_impressions": 3,
"id": "5643541b3034620021000104"
}
{
"error":"unauthorized"
}
403 Forbidden
{
"error":"your api client does not have the correct roles"
}