curl --request GET \
--url https://api-next.ofauth.com/v2/access/analytics/campaigns/top \
--header 'apiKey: <api-key>' \
--header 'x-connection-id: <api-key>'{
"hasMore": true,
"list": [
{
"id": 123,
"countSubscribers": 123,
"countTransitions": 123,
"campaignCode": 123,
"campaignName": "<string>",
"createdAt": "<string>",
"endDate": "<string>"
}
]
}Get top performing campaigns
Permission Required: analytics:read
curl --request GET \
--url https://api-next.ofauth.com/v2/access/analytics/campaigns/top \
--header 'apiKey: <api-key>' \
--header 'x-connection-id: <api-key>'{
"hasMore": true,
"list": [
{
"id": 123,
"countSubscribers": 123,
"countTransitions": 123,
"campaignCode": 123,
"campaignName": "<string>",
"createdAt": "<string>",
"endDate": "<string>"
}
]
}Requires a connection via the x-connection-id header.
Number of items to return (1-100, default: 20)
1 <= x <= 100Number of items to skip (default: 0)
x >= 0Start of date range (ISO 8601)
End of date range (ISO 8601)
Was this page helpful?