GET Stats / In-app Messages

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

Copy
curl -X GET -u :$API_KEY -H 'Accept: application/json' https://api.carnivalmobile.com/v6/stats/messages/$message_id/events

Result Format

200 OK

Copy
{
    "full_screen_impressions": 1,
    "message_stream_impressions": 10,
    "in_app_notification_impressions": 3,
    "id": "5643541b3034620021000104"}

401 Unauthorized

Copy
{
  "error":"unauthorized"}

403 Forbidden

Copy
{
  "error":"your api client does not have the correct roles"}