curl --request POST \
--url https://api.comm.com/api/v1/conversion-pixels/reports \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"sortModel": [
{
"sort": "asc",
"colId": "updated_datetime"
}
],
"filterModel": "{\"is_sent\":{\"filterType\":\"number\",\"type\":\"greaterThan\",\"filter\":5}}\n\nnote that it needs to be col_id: {FilterModel}, PHP doesn'\''t support this kind of description.",
"rowGroupCols": [
{
"id": "campaign_id",
"displayName": "Campaign_Id",
"field": "campaign_id"
}
],
"selectCols": "[\"country_id\"]\nWill make a select query with only the columns in the array, if not provided default columns will be selected",
"groupKeys": "[\"campaign_uuid\"]\nNot the column type, it'\''s a filter of the query",
"startRow": 1,
"endRow": 2,
"groupByAll": true
}'
{
"data": [
{
"id": "<string>",
"object_id": "<string>",
"event_type": "<string>",
"event_profit": "<string>",
"user_agent": "<string>",
"created_at": "<string>",
"object_type": "<string>",
"ip_address": "<string>",
"conversion_filter_id": "<string>",
"country_code": "<string>",
"team_id": "<string>",
"related_object_id": "<string>",
"is_bot": "<string>",
"bot_reason": "<string>"
}
],
"meta": {
"total": 123
}
}
curl --request POST \
--url https://api.comm.com/api/v1/conversion-pixels/reports \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"sortModel": [
{
"sort": "asc",
"colId": "updated_datetime"
}
],
"filterModel": "{\"is_sent\":{\"filterType\":\"number\",\"type\":\"greaterThan\",\"filter\":5}}\n\nnote that it needs to be col_id: {FilterModel}, PHP doesn'\''t support this kind of description.",
"rowGroupCols": [
{
"id": "campaign_id",
"displayName": "Campaign_Id",
"field": "campaign_id"
}
],
"selectCols": "[\"country_id\"]\nWill make a select query with only the columns in the array, if not provided default columns will be selected",
"groupKeys": "[\"campaign_uuid\"]\nNot the column type, it'\''s a filter of the query",
"startRow": 1,
"endRow": 2,
"groupByAll": true
}'
{
"data": [
{
"id": "<string>",
"object_id": "<string>",
"event_type": "<string>",
"event_profit": "<string>",
"user_agent": "<string>",
"created_at": "<string>",
"object_type": "<string>",
"ip_address": "<string>",
"conversion_filter_id": "<string>",
"country_code": "<string>",
"team_id": "<string>",
"related_object_id": "<string>",
"is_bot": "<string>",
"bot_reason": "<string>"
}
],
"meta": {
"total": 123
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The response is of type object
.