The API is organized around REST. Our API has predictable resource-oriented URLs, accepts form-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.
All requests to the API must be authenticated using an API key. To authenticate, add a API-KEY
header to your request that contains your API Key.
Code | Summary | Description |
---|---|---|
200 | OK | Everything worked as expected. |
400 | Bad Request | The request was unacceptable, often due to missing a required parameter. |
401 | Unauthorized | No valid API key provided. |
402 | Request Failed | The parameters were valid but the request failed. |
403 | Forbidden | The API key doesn't have permissions to perform the request. |
404 | Not Found | The requested resource doesn't exist. |
429 | Too Many Requests | Too many requests hit the API too quickly. We recommend an exponential backoff of your requests. |
500, 502, 503, 504 | Server Errors | Something went wrong on Server's end. (These are rare.) |
We use conventional HTTP response codes to indicate the success or failure of an API request. In general: Codes in the 2xx range indicate success. Codes in the 4xx range indicate an error that failed given the information provided (e.g., a required parameter was omitted, a wrong data type is provided to a json field). Codes in the 5xx range indicate an error with our servers (these are rare).
To filter the result you can use the filter query parameter. Format:
filter[field_name][operator] = value
filter[outer_field.inner_field]
eq
.You can sort the result by adding sort
query params like sort=-type,name
. -
will act for descending
The API in general is using numbered pages except for Reports.
To paginate the result you can provide the following:
page[number]
is the number of the page.page[size]
is the size of the page. The API max limit is 100.In the response, meta.total_count
shows the number of total objects and meta.total_page
shows the number of total pages.
{
"meta": {
"total_count": 1000,
"total_page": 50
}
}
Example:
Go to the first page:
GET /api/v2/coffees?page[size]=100&page[number]=1
Go to the second page:
GET /api/v2/coffees?page[size]=100&page[number]=2
List all your Coupon Codes.
organizationID required | string The Organization ID |
Array of objects (csapi.CouponCode) | |
object (csapi.ListMeta) |
{- "data": [
- {
- "active": true,
- "created_at": "string",
- "description": "string",
- "end_date": "string",
- "end_date_enabled": false,
- "id": "string",
- "integration": "string",
- "last_updated_by": "string",
- "name": "string",
- "offer_active": true,
- "offer_id": "string",
- "offer_incremental_id": 0,
- "offer_name_with_id": "string",
- "offer_primary_domain": "string",
- "organization": "string",
- "publisher_active": true,
- "publisher_id": "string",
- "publisher_incremental_id": 0,
- "publisher_name_with_id": "string",
- "start_date": "string",
- "start_date_enabled": false,
- "status": "Active",
- "updated_at": "string"
}
], - "meta": {
- "links": {
- "next": {
- "page[after]": "string",
- "page[before]": "string",
- "page[number]": 0,
- "page[size]": 0
}, - "prev": {
- "page[after]": "string",
- "page[before]": "string",
- "page[number]": 0,
- "page[size]": 0
}
}, - "total_count": 0,
- "total_page": 0
}
}
List multiple Offers using pagination and filtering.
organizationID required | string The Organization ID |
Array of objects (csapi.PublisherViewOffer) | |
object (csapi.ListMeta) |
{- "data": [
- {
- "capping": {
- "custom_capping_id": "string",
- "is_custom": true,
- "settings": {
- "block_clicks": true,
- "block_impressions": true,
- "click_capping": {
- "daily": 0,
- "every_15_minutes": 0,
- "hourly": 0,
- "monthly": 0,
- "total": 0,
- "weekly": 0
}, - "click_capping_enabled": true,
- "conversion_capping": {
- "daily": 0,
- "every_15_minutes": 0,
- "hourly": 0,
- "monthly": 0,
- "total": 0,
- "weekly": 0
}, - "conversion_capping_enabled": true,
- "event_capping_enabled": true,
- "event_capping_per_event_id": {
- "property1": {
- "daily": 0,
- "every_15_minutes": 0,
- "hourly": 0,
- "monthly": 0,
- "total": 0,
- "weekly": 0
}, - "property2": {
- "daily": 0,
- "every_15_minutes": 0,
- "hourly": 0,
- "monthly": 0,
- "total": 0,
- "weekly": 0
}
}, - "impression_capping": {
- "daily": 0,
- "every_15_minutes": 0,
- "hourly": 0,
- "monthly": 0,
- "total": 0,
- "weekly": 0
}, - "impression_capping_enabled": true,
- "payout_capping": {
- "daily": 0,
- "every_15_minutes": 0,
- "hourly": 0,
- "monthly": 0,
- "total": 0,
- "weekly": 0
}, - "payout_capping_enabled": true,
- "revenue_capping": {
- "daily": 0,
- "every_15_minutes": 0,
- "hourly": 0,
- "monthly": 0,
- "total": 0,
- "weekly": 0
}, - "revenue_capping_enabled": true
}
}, - "click_tracking_links": {
- "js": "string",
- "standard": "string"
}, - "conversion_payout": {
- "payout": 0,
- "payout_percent": 100,
- "payout_type": "Unknown"
}, - "created_at": "string",
- "currency": "USD",
- "deep_link_enabled": true,
- "description": "string",
- "email_instructions": {
- "from_lines": [
- "string"
], - "subject_lines": [
- "string"
]
}, - "hide_js_tracking": true,
- "id": "string",
- "incremental_id": 0,
- "integration": "string",
- "landing_pages": [
- {
- "created_at": "string",
- "incremental_id": 0,
- "last_updated_by": "string",
- "name": "string",
- "preview_url": "string",
- "updated_at": "string"
}
], - "last_updated_by": "string",
- "name": "string",
- "name_with_id": "string",
- "offer_access": "Public",
- "payouts": [
- {
- "currency": "USD",
- "description": "string",
- "incremental_id": 0,
- "name": "string",
- "name_with_id": "string",
- "payout": 0,
- "payout_percent": 100,
- "payout_type": "Unknown",
- "summary": "string"
}
], - "primary_domain": "string",
- "restriction_note": "string",
- "targeting_details": {
- "settings": {
- "device": {
- "browsers": {
- "Chrome": true,
- "Safari": false
}, - "device_types": {
- "Computer": false,
- "Phone": true
}, - "operating_systems": {
- "Android": false,
- "iOS": true
}, - "os_versions": {
- "property1": {
- "is_allowed": true,
- "max_version": "string",
- "min_version": "string"
}, - "property2": {
- "is_allowed": true,
- "max_version": "string",
- "min_version": "string"
}
}
}, - "device_targeting_enabled": true,
- "geo": {
- "cities": {
- "property1": true,
- "property2": true
}, - "countries": {
- "property1": true,
- "property2": true
}
}, - "geo_targeting_enabled": true,
- "ip": {
- "ip_addresses": {
- "10.0.0.1": true
}, - "ip_ranges": {
- "10.0.0.1-10.0.0.255": true
}
}, - "ip_targeting_enabled": true,
- "language": {
- "property1": true,
- "property2": true
}, - "language_targeting_enabled": true
}
}, - "targeting_properties": {
- "allowed_browsers": [
- "string"
], - "allowed_cities": [
- "string"
], - "allowed_countries": [
- "string"
], - "allowed_device_types": [
- "string"
], - "allowed_languages": [
- "string"
], - "allowed_oses": [
- "string"
], - "blocked_browsers": [
- "string"
], - "blocked_cities": [
- "string"
], - "blocked_countries": [
- "string"
], - "blocked_device_types": [
- "string"
], - "blocked_languages": [
- "string"
], - "blocked_oses": [
- "string"
]
}, - "targeting_simple": {
- "device": {
- "browsers": {
- "Chrome": true,
- "Safari": false
}, - "device_types": {
- "Computer": false,
- "Phone": true
}, - "operating_systems": {
- "Android": false,
- "iOS": true
}, - "os_versions": {
- "property1": {
- "is_allowed": true,
- "max_version": "string",
- "min_version": "string"
}, - "property2": {
- "is_allowed": true,
- "max_version": "string",
- "min_version": "string"
}
}
}, - "device_targeting_enabled": true,
- "geo": {
- "cities": {
- "property1": true,
- "property2": true
}, - "countries": {
- "property1": true,
- "property2": true
}
}, - "geo_targeting_enabled": true,
- "ip": {
- "ip_addresses": {
- "10.0.0.1": true
}, - "ip_ranges": {
- "10.0.0.1-10.0.0.255": true
}
}, - "ip_targeting_enabled": true,
- "language": {
- "property1": true,
- "property2": true
}, - "language_targeting_enabled": true
}, - "terms_and_conditions": "string",
- "terms_and_conditions_agreed": true,
- "terms_and_conditions_enabled": true,
- "updated_at": "string"
}
], - "meta": {
- "links": {
- "next": {
- "page[after]": "string",
- "page[before]": "string",
- "page[number]": 0,
- "page[size]": 0
}, - "prev": {
- "page[after]": "string",
- "page[before]": "string",
- "page[number]": 0,
- "page[size]": 0
}
}, - "total_count": 0,
- "total_page": 0
}
}
Get an Offer information.
organizationID required | string The Organization ID |
offerID required | string The PublisherViewOffer ID |
object (csapi.PublisherViewOffer) |
{- "data": {
- "capping": {
- "custom_capping_id": "string",
- "is_custom": true,
- "settings": {
- "block_clicks": true,
- "block_impressions": true,
- "click_capping": {
- "daily": 0,
- "every_15_minutes": 0,
- "hourly": 0,
- "monthly": 0,
- "total": 0,
- "weekly": 0
}, - "click_capping_enabled": true,
- "conversion_capping": {
- "daily": 0,
- "every_15_minutes": 0,
- "hourly": 0,
- "monthly": 0,
- "total": 0,
- "weekly": 0
}, - "conversion_capping_enabled": true,
- "event_capping_enabled": true,
- "event_capping_per_event_id": {
- "property1": {
- "daily": 0,
- "every_15_minutes": 0,
- "hourly": 0,
- "monthly": 0,
- "total": 0,
- "weekly": 0
}, - "property2": {
- "daily": 0,
- "every_15_minutes": 0,
- "hourly": 0,
- "monthly": 0,
- "total": 0,
- "weekly": 0
}
}, - "impression_capping": {
- "daily": 0,
- "every_15_minutes": 0,
- "hourly": 0,
- "monthly": 0,
- "total": 0,
- "weekly": 0
}, - "impression_capping_enabled": true,
- "payout_capping": {
- "daily": 0,
- "every_15_minutes": 0,
- "hourly": 0,
- "monthly": 0,
- "total": 0,
- "weekly": 0
}, - "payout_capping_enabled": true,
- "revenue_capping": {
- "daily": 0,
- "every_15_minutes": 0,
- "hourly": 0,
- "monthly": 0,
- "total": 0,
- "weekly": 0
}, - "revenue_capping_enabled": true
}
}, - "click_tracking_links": {
- "js": "string",
- "standard": "string"
}, - "conversion_payout": {
- "payout": 0,
- "payout_percent": 100,
- "payout_type": "Unknown"
}, - "created_at": "string",
- "currency": "USD",
- "deep_link_enabled": true,
- "description": "string",
- "email_instructions": {
- "from_lines": [
- "string"
], - "subject_lines": [
- "string"
]
}, - "hide_js_tracking": true,
- "id": "string",
- "incremental_id": 0,
- "integration": "string",
- "landing_pages": [
- {
- "created_at": "string",
- "incremental_id": 0,
- "last_updated_by": "string",
- "name": "string",
- "preview_url": "string",
- "updated_at": "string"
}
], - "last_updated_by": "string",
- "name": "string",
- "name_with_id": "string",
- "offer_access": "Public",
- "payouts": [
- {
- "currency": "USD",
- "description": "string",
- "incremental_id": 0,
- "name": "string",
- "name_with_id": "string",
- "payout": 0,
- "payout_percent": 100,
- "payout_type": "Unknown",
- "summary": "string"
}
], - "primary_domain": "string",
- "restriction_note": "string",
- "targeting_details": {
- "settings": {
- "device": {
- "browsers": {
- "Chrome": true,
- "Safari": false
}, - "device_types": {
- "Computer": false,
- "Phone": true
}, - "operating_systems": {
- "Android": false,
- "iOS": true
}, - "os_versions": {
- "property1": {
- "is_allowed": true,
- "max_version": "string",
- "min_version": "string"
}, - "property2": {
- "is_allowed": true,
- "max_version": "string",
- "min_version": "string"
}
}
}, - "device_targeting_enabled": true,
- "geo": {
- "cities": {
- "property1": true,
- "property2": true
}, - "countries": {
- "property1": true,
- "property2": true
}
}, - "geo_targeting_enabled": true,
- "ip": {
- "ip_addresses": {
- "10.0.0.1": true
}, - "ip_ranges": {
- "10.0.0.1-10.0.0.255": true
}
}, - "ip_targeting_enabled": true,
- "language": {
- "property1": true,
- "property2": true
}, - "language_targeting_enabled": true
}
}, - "targeting_properties": {
- "allowed_browsers": [
- "string"
], - "allowed_cities": [
- "string"
], - "allowed_countries": [
- "string"
], - "allowed_device_types": [
- "string"
], - "allowed_languages": [
- "string"
], - "allowed_oses": [
- "string"
], - "blocked_browsers": [
- "string"
], - "blocked_cities": [
- "string"
], - "blocked_countries": [
- "string"
], - "blocked_device_types": [
- "string"
], - "blocked_languages": [
- "string"
], - "blocked_oses": [
- "string"
]
}, - "targeting_simple": {
- "device": {
- "browsers": {
- "Chrome": true,
- "Safari": false
}, - "device_types": {
- "Computer": false,
- "Phone": true
}, - "operating_systems": {
- "Android": false,
- "iOS": true
}, - "os_versions": {
- "property1": {
- "is_allowed": true,
- "max_version": "string",
- "min_version": "string"
}, - "property2": {
- "is_allowed": true,
- "max_version": "string",
- "min_version": "string"
}
}
}, - "device_targeting_enabled": true,
- "geo": {
- "cities": {
- "property1": true,
- "property2": true
}, - "countries": {
- "property1": true,
- "property2": true
}
}, - "geo_targeting_enabled": true,
- "ip": {
- "ip_addresses": {
- "10.0.0.1": true
}, - "ip_ranges": {
- "10.0.0.1-10.0.0.255": true
}
}, - "ip_targeting_enabled": true,
- "language": {
- "property1": true,
- "property2": true
}, - "language_targeting_enabled": true
}, - "terms_and_conditions": "string",
- "terms_and_conditions_agreed": true,
- "terms_and_conditions_enabled": true,
- "updated_at": "string"
}
}
For an Offer that requires aggrement to their T&Cs, use this API to agree. The Offer T&Cs can be read in the Offer object.
organizationID required | string The Organization ID |
offerID required | string The Offer ID |
{ }
Request an access to a restricted Offer. Use the Object ID in the response to check for the application status. If the application is approved, you will be able to create Click for the Offer.
organizationID required | string The Organization ID |
offerID required | string The PublisherViewOffer ID |
{- "created_item_id": "string"
}
View Offer Payout settings.
organizationID required | string The Organization ID |
offerID required | string The PublisherViewOffer ID |
Array of objects (csapi.PublisherViewOfferPayout) | |
object (csapi.ListMeta) |
{- "data": [
- {
- "currency": "USD",
- "description": "string",
- "incremental_id": 0,
- "name": "string",
- "name_with_id": "string",
- "payout": 0,
- "payout_percent": 100,
- "payout_type": "Unknown",
- "summary": "string"
}
], - "meta": {
- "links": {
- "next": {
- "page[after]": "string",
- "page[before]": "string",
- "page[number]": 0,
- "page[size]": 0
}, - "prev": {
- "page[after]": "string",
- "page[before]": "string",
- "page[number]": 0,
- "page[size]": 0
}
}, - "total_count": 0,
- "total_page": 0
}
}
List all your product feeds.
organizationID required | string The Organization ID |
Array of objects (csapi.ProductFeed) | |
object (csapi.ListMeta) |
{- "data": [
- {
- "active": true,
- "advertiser_id": "string",
- "advertiser_incremental_id": 0,
- "advertiser_name_with_id": "string",
- "created_at": "string",
- "end_date": "string",
- "end_date_enabled": false,
- "file_size_kb": 0,
- "id": "string",
- "integration": "string",
- "items_count": 0,
- "last_updated_by": "string",
- "name": "string",
- "offer_id": "string",
- "offer_incremental_id": 0,
- "offer_name_with_id": "string",
- "organization": "string",
- "start_date": "string",
- "start_date_enabled": false,
- "status": "Active",
- "updated_at": "string"
}
], - "meta": {
- "links": {
- "next": {
- "page[after]": "string",
- "page[before]": "string",
- "page[number]": 0,
- "page[size]": 0
}, - "prev": {
- "page[after]": "string",
- "page[before]": "string",
- "page[number]": 0,
- "page[size]": 0
}
}, - "total_count": 0,
- "total_page": 0
}
}
Get the Product Feed information.
organizationID required | string The Organization ID |
productFeedID required | string The Product Feed ID |
object (csapi.ProductFeed) |
{- "data": {
- "active": true,
- "advertiser_id": "string",
- "advertiser_incremental_id": 0,
- "advertiser_name_with_id": "string",
- "created_at": "string",
- "end_date": "string",
- "end_date_enabled": false,
- "file_size_kb": 0,
- "id": "string",
- "integration": "string",
- "items_count": 0,
- "last_updated_by": "string",
- "name": "string",
- "offer_id": "string",
- "offer_incremental_id": 0,
- "offer_name_with_id": "string",
- "organization": "string",
- "start_date": "string",
- "start_date_enabled": false,
- "status": "Active",
- "updated_at": "string"
}
}
List all your product feed items.
organizationID required | string The Organization ID |
productFeedID required | string The Product Feed ID |
object (csapi.ProductFeedItemList) |
{- "data": {
- "data": [
- {
- "availability": "string",
- "brand": "string",
- "description": "string",
- "image_url": "string",
- "name": "string",
- "price": 0,
- "sku": "string",
- "tracking_url": "string",
- "url": "string",
- "valid_from_date": "string",
- "valid_until_date": "string"
}
]
}
}
List all your product feed items in XML format.
organizationID required | string The Organization ID |
productFeedID required | string The Product Feed ID |
object (csapi.ProductFeedItemList) |
List all your Offer Applications.
organizationID required | string The Organization ID |
Array of objects (csapi.OfferAccessRequest) | |
object (csapi.ListMeta) |
{- "data": [
- {
- "comments": "string",
- "created_at": "string",
- "id": "string",
- "last_updated_by": "string",
- "offer_id": "string",
- "offer_incremental_id": 0,
- "offer_name_with_id": "string",
- "organization": "string",
- "publisher_id": "string",
- "publisher_incremental_id": 0,
- "publisher_name_with_id": "string",
- "request_status": "Pending",
- "updated_at": "string"
}
], - "meta": {
- "links": {
- "next": {
- "page[after]": "string",
- "page[before]": "string",
- "page[number]": 0,
- "page[size]": 0
}, - "prev": {
- "page[after]": "string",
- "page[before]": "string",
- "page[number]": 0,
- "page[size]": 0
}
}, - "total_count": 0,
- "total_page": 0
}
}
Delete multiple applications for multiple Offers.
organizationID required | string The Organization ID |
An object array of offer access request IDs to delete
Array of objects (service.OfferAccessRequestDeleteRequest) |
{- "data": [
- {
- "id": "string",
- "offer_id": "string"
}
]
}
{ }
Get the status of your application for an Offer.
organizationID required | string The Organization ID |
offerID required | string The PublisherViewOffer ID |
offerAccessRequestID required | string The OfferAccessRequest ID |
object (csapi.OfferAccessRequest) |
{- "data": {
- "comments": "string",
- "created_at": "string",
- "id": "string",
- "last_updated_by": "string",
- "offer_id": "string",
- "offer_incremental_id": 0,
- "offer_name_with_id": "string",
- "organization": "string",
- "publisher_id": "string",
- "publisher_incremental_id": 0,
- "publisher_name_with_id": "string",
- "request_status": "Pending",
- "updated_at": "string"
}
}
Delete your application for an Offer.
organizationID required | string The Organization ID |
offerID required | string The PublisherViewOffer ID |
offerAccessRequestID required | string The PublisherViewOfferAccessRequest ID |
{ }
View Postback history.
organizationID required | string The Organization ID |
start_date required | string <date> The start_date is used with end_date. This applies to the process_time field |
end_date required | string <date> The end_date is used with start_date. This applies to the process_time field |
start_time required | string <date-time> The start_time is used with end_time. This applies to the process_time field |
end_time required | string <date-time> The end_time is used with start_time. This applies to the process_time field |
filter[service_type] | string Enum: "conversion" "click" The service that triggered the postback event |
filter[postback_manager_id] | string The postback manager that triggered the postback event |
filter[tx_id] | string The transaction ID of the event that triggered the postback |
filter[offer_id] | string The offer ID |
filter[publisher] | string The publisher ID |
filter[postback_ip] | string The server IP address where the postback is executed |
filter[postback_url][match] | string Find postback with URL that matches this string |
filter[error][match] | string Find postback that ended with error which contains this message |
filter[status_code] | integer The postback HTTP status code |
filter[duration_ms][gte] | integer Find postback with latency that has greater than or equal this value |
filter[duration_ms][lte] | integer Find postback with latency that has less than or equal this value |
columns[] | Array of strings columns |
sort | string sort |
Array of objects (csapi.PostbackLog) | |
object (csapi.ListMeta) |
{- "data": [
- {
- "body": "string",
- "create_time": "2019-08-24T14:15:22Z",
- "duration_ms": 0,
- "error": "string",
- "event_id": "string",
- "headers": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "integration_id": "string",
- "is_created_by_asp_publisher": true,
- "is_processed": 0,
- "method": "string",
- "offer_id": "string",
- "offer_id_with_name": "string",
- "organization_id": "string",
- "postback_after": "2019-08-24T14:15:22Z",
- "postback_ip": "string",
- "postback_manager_id": "string",
- "postback_manager_name": "string",
- "process_time": "2019-08-24T14:15:22Z",
- "publisher": "string",
- "publisher_with_name": "string",
- "response_body": "string",
- "service_type": "string",
- "status_code": 0,
- "tx_id": "string",
- "url": "string"
}
], - "meta": {
- "links": {
- "next": {
- "page[after]": "string",
- "page[before]": "string",
- "page[number]": 0,
- "page[size]": 0
}, - "prev": {
- "page[after]": "string",
- "page[before]": "string",
- "page[number]": 0,
- "page[size]": 0
}
}, - "total_count": 0,
- "total_page": 0
}
}
List all your Postbacks.
organizationID required | string The Organization ID |
Array of objects (csapi.PostbackManager) | |
object (csapi.ListMeta) |
{- "data": [
- {
- "active": true,
- "body": "string",
- "created_at": "string",
- "created_by_publisher": 0,
- "delay_metric": "Second",
- "delay_value": 0,
- "description": "string",
- "filters": {
- "event_db_id": "string",
- "event_id": "string",
- "event_name_with_id": "string",
- "filter_status": "Any",
- "offer_db_id": "string",
- "offer_id": "string",
- "offer_name_with_id": "string",
- "publisher_db_id": "string",
- "publisher_id": "string",
- "publisher_name_with_id": "string",
- "rejection_reasons": [
- "string"
]
}, - "headers": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "id": "string",
- "integration": "string",
- "last_updated_by": "string",
- "method": "GET",
- "name": "string",
- "organization": "string",
- "service_type": "click",
- "updated_at": "string",
- "url": "string"
}
], - "meta": {
- "links": {
- "next": {
- "page[after]": "string",
- "page[before]": "string",
- "page[number]": 0,
- "page[size]": 0
}, - "prev": {
- "page[after]": "string",
- "page[before]": "string",
- "page[number]": 0,
- "page[size]": 0
}
}, - "total_count": 0,
- "total_page": 0
}
}
Get the Postback information.
organizationID required | string The Organization ID |
postbackID required | string The PostbackManager ID |
object (csapi.PostbackManager) |
{- "data": {
- "active": true,
- "body": "string",
- "created_at": "string",
- "created_by_publisher": 0,
- "delay_metric": "Second",
- "delay_value": 0,
- "description": "string",
- "filters": {
- "event_db_id": "string",
- "event_id": "string",
- "event_name_with_id": "string",
- "filter_status": "Any",
- "offer_db_id": "string",
- "offer_id": "string",
- "offer_name_with_id": "string",
- "publisher_db_id": "string",
- "publisher_id": "string",
- "publisher_name_with_id": "string",
- "rejection_reasons": [
- "string"
]
}, - "headers": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "id": "string",
- "integration": "string",
- "last_updated_by": "string",
- "method": "GET",
- "name": "string",
- "organization": "string",
- "service_type": "click",
- "updated_at": "string",
- "url": "string"
}
}
This is a restricted API. You must request for access from your Network if you are not allowed to perform this operation.
Create a new Postback.
organizationID required | string The Organization ID |
A JSON object containing postback information
active | boolean |
body | string |
delay_metric | string Default: "Second" Enum: "Second" "Minute" "Hour" |
delay_value | integer |
description | string |
object (csapi.PostbackManagerFilters) | |
object | |
integration required | string |
method | string Default: "GET" Enum: "GET" "POST" "PUT" "DELETE" "PATCH" |
name required | string |
organization required | string |
service_type required | string Enum: "click" "impression" "conversion" "event" |
url required | string |
{- "active": true,
- "body": "string",
- "delay_metric": "Second",
- "delay_value": 0,
- "description": "string",
- "filters": {
- "event_id": "string",
- "filter_status": "Any",
- "offer_id": "string",
- "publisher_id": "string",
- "rejection_reasons": [
- "string"
]
}, - "headers": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "integration": "string",
- "method": "GET",
- "name": "string",
- "organization": "string",
- "service_type": "click",
- "url": "string"
}
{- "created_item_id": "string"
}
Delete multiple Postbacks by supplying an array of Postback IDs.
organizationID required | string The Organization ID of the postback. |
An array of postback IDs to delete
data | Array of strings |
{- "data": [
- "string"
]
}
{ }
Update multiple Postbacks status by supplying an array of Postback IDs and the new status.
organizationID required | string The Organization ID of the postback. |
An array of postback IDs to update and the new status
active | boolean |
data | Array of strings |
{- "active": true,
- "data": [
- "string"
]
}
{ }
Delete a Postback.
postbackID required | string The PostbackManager ID |
organizationID required | string The Organization ID |
{ }
Update a Postback.
postbackID required | string The PostbackManager ID |
organizationID required | string The Organization ID |
A JSON object containing postback information
active | boolean |
body | string |
delay_metric | string Enum: "Second" "Minute" "Hour" |
delay_value | integer |
description | string |
object (csapi.PostbackManagerFiltersPayload) | |
object | |
method | string Enum: "GET" "POST" "PUT" "DELETE" "PATCH" |
name | string |
url | string |
{- "active": true,
- "body": "string",
- "delay_metric": "Second",
- "delay_value": 0,
- "description": "string",
- "filters": {
- "event_id": "string",
- "filter_status": "Any",
- "offer_id": "string",
- "publisher_id": "string",
- "rejection_reasons": [
- "string"
]
}, - "headers": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "method": "GET",
- "name": "string",
- "url": "string"
}
{ }
The Reports API page[size]
limit is only 100. If you need to quickly and efficiently export a massive amount of data, we recommend to use the Download Center Export APIs.
Reports API methods use cursor-based pagination through the page[after]
and page[before]
parameters. Both parameters accept an existing value in transaction ID format which matches the objects real_tx_id
field.
The values to use can be found under pageInfo.startCursor
and pageInfo.endCursor
from the response and return objects in reverse chronological order. The page[before]
parameter returns objects listed before object.real_tx_id
. The page[after]
parameter returns objects listed after object.real_tx_id
. These parameters are mutually exclusive. You can use either the page[after]
or page[before]
parameter, but not both simultaneously.
data.pageInfo.startCursor
is the cursor of first object in the current page.data.pageInfo.endCursor
is the cursor of the last object in the current page. data.pageInfo.hasNextPage
shows you if there is a next page.data.pageInfo.hasPreviousPage
shows you if there is a previous page.GET /api/v2/reports/v2/conversion-table?page[size]=25&integration_id={integrationID}&start_date=2025-02-01&end_date=2025-02-27
Example response:
{
"data": {
"data": [
{
"real_tx_id": "ABC"
},
{
"real_tx_id": "............"
},
{
"real_tx_id": "XYZ"
}
],
"pageInfo": {
"startCursor": "ABC",
"endCursor": "XYZ",
"hasPreviousPage": true,
"hasNextPage": true
}
}
}
Fetch the next page by adding &page[after]=XYZ
in the request.
GET /api/v2/reports/v2/conversion-table?page[size]=25&integration_id={integrationID}&start_date=2025-02-01&end_date=2025-02-27&page[after]=XYZ'
Example response:
{
"data": {
"data": [
{
"real_tx_id": "{startCursor}"
},
{
"real_tx_id": "............"
},
{
"real_tx_id": "{endCursor}"
}
],
"pageInfo": {
"startCursor": "{startCursor}",
"endCursor": "{endCursor}",
"hasPreviousPage": true,
"hasNextPage": true
}
}
}
Get a single click given the query parameters. An error is returned if there is no match.
organizationID required | string The Organization ID |
integration_id required | string The Integration ID |
request_date required | string <date> The Click Time |
offer | string The Offer |
tx_id required | string The Transaction ID |
object (report.Click) |
{- "data": {
- "advertiser": "string",
- "advertiser_db_id": "string",
- "advertiser_id": "string",
- "asn": 0,
- "blocked": 0,
- "browser_language": [
- "string"
], - "browser_name": "string",
- "browser_timezone": "string",
- "browser_version": "string",
- "bundle_id": "string",
- "city": "string",
- "click_ip": "string",
- "country": "string",
- "coupon_code": "string",
- "device_id": "string",
- "device_type": "string",
- "external_transaction_id": "string",
- "extra_params.keys": [
- "string"
], - "extra_params.values": [
- "string"
], - "filter_group_id": "string",
- "final_offer": "string",
- "final_offer_id": "string",
- "fingerprint": "string",
- "integration_id": "string",
- "integration_type": "string",
- "invalid_sub_id": "string",
- "ip_network": "string",
- "is_bot": 0,
- "is_old_browser": 0,
- "is_old_os": 0,
- "isp": "string",
- "lat": 0,
- "long": 0,
- "manager_id": "string",
- "manager_name": "string",
- "monitoring_mode": 0,
- "offer": "string",
- "offer_db_id": "string",
- "offer_group_id": "string",
- "offer_id": "string",
- "organization_id": "string",
- "os_name": "string",
- "os_version": "string",
- "payout": 0,
- "postal_code": "string",
- "preview_url_enabled": 0,
- "proxy_type": "string",
- "publisher": "string",
- "publisher_db_id": "string",
- "real_advertiser": "string",
- "real_filter_group_id": "string",
- "real_offer_id": "string",
- "real_publisher": "string",
- "real_tx_id": "string",
- "referer": "string",
- "referer_categories": [
- "string"
], - "rejected_advanced_reason": "string",
- "rejected_language": "string",
- "rejected_primary_reason": "string",
- "rejected_simple_reason": "string",
- "rejection_type": "string",
- "rejections": [
- "string"
], - "request_date": "2019-08-24",
- "request_time": "2019-08-24T14:15:22Z",
- "revenue": 0,
- "rtb_url_used": 0,
- "rtt": 0,
- "server_region": "string",
- "smart_link_id": "string",
- "smartlink_db_id": "string",
- "status": "Approved",
- "sub_id": "string",
- "sub_id_2": "string",
- "sub_id_3": "string",
- "sub_id_4": "string",
- "sub_id_5": "string",
- "sub_id_6": "string",
- "tags": [
- "string"
], - "targeting_group_id": "string",
- "tx_id": "string",
- "user_agent": "string",
- "user_email": "string",
- "uuid": "string"
}
}
organizationID required | string The Organization ID |
start_date required | string <date> Fetch data where request_time is starting from this date |
end_date required | string <date> Fetch data where request_time is until this date |
timezone | string Optional IANA timezone, Defaults to UTC |
page[size] required | integer The number of items to return |
page[before] | string Fetch the previous data before this cursor |
page[after] | string Fetch the next data after this cursor |
object (report.ClickTable) |
{- "data": {
- "count": 0,
- "data": [
- {
- "advertiser": "string",
- "advertiser_db_id": "string",
- "advertiser_id": "string",
- "asn": 0,
- "blocked": 0,
- "browser_language": [
- "string"
], - "browser_name": "string",
- "browser_timezone": "string",
- "browser_version": "string",
- "bundle_id": "string",
- "city": "string",
- "click_ip": "string",
- "country": "string",
- "coupon_code": "string",
- "device_id": "string",
- "device_type": "string",
- "external_transaction_id": "string",
- "extra_params.keys": [
- "string"
], - "extra_params.values": [
- "string"
], - "filter_group_id": "string",
- "final_offer": "string",
- "final_offer_id": "string",
- "fingerprint": "string",
- "integration_id": "string",
- "integration_type": "string",
- "invalid_sub_id": "string",
- "ip_network": "string",
- "is_bot": 0,
- "is_old_browser": 0,
- "is_old_os": 0,
- "isp": "string",
- "lat": 0,
- "long": 0,
- "manager_id": "string",
- "manager_name": "string",
- "monitoring_mode": 0,
- "offer": "string",
- "offer_db_id": "string",
- "offer_group_id": "string",
- "offer_id": "string",
- "organization_id": "string",
- "os_name": "string",
- "os_version": "string",
- "payout": 0,
- "postal_code": "string",
- "preview_url_enabled": 0,
- "proxy_type": "string",
- "publisher": "string",
- "publisher_db_id": "string",
- "real_advertiser": "string",
- "real_filter_group_id": "string",
- "real_offer_id": "string",
- "real_publisher": "string",
- "real_tx_id": "string",
- "referer": "string",
- "referer_categories": [
- "string"
], - "rejected_advanced_reason": "string",
- "rejected_language": "string",
- "rejected_primary_reason": "string",
- "rejected_simple_reason": "string",
- "rejection_type": "string",
- "rejections": [
- "string"
], - "request_date": "2019-08-24",
- "request_time": "2019-08-24T14:15:22Z",
- "revenue": 0,
- "rtb_url_used": 0,
- "rtt": 0,
- "server_region": "string",
- "smart_link_id": "string",
- "smartlink_db_id": "string",
- "status": "Approved",
- "sub_id": "string",
- "sub_id_2": "string",
- "sub_id_3": "string",
- "sub_id_4": "string",
- "sub_id_5": "string",
- "sub_id_6": "string",
- "tags": [
- "string"
], - "targeting_group_id": "string",
- "tx_id": "string",
- "user_agent": "string",
- "user_email": "string",
- "uuid": "string"
}
], - "pageInfo": {
- "endCursor": "string",
- "hasNextPage": true,
- "hasPreviousPage": true,
- "startCursor": "string"
}
}
}
Get a single conversion or event given the query parameters. An error is returned if there is no match.
organizationID required | string The Organization ID |
integration_id required | string The Integration ID |
request_date required | string <date> The Conversion Time |
offer | string The Offer |
hash required | string The Hash |
object (report.Conversion) |
{- "data": {
- "advertiser": "string",
- "advertiser_db_id": "string",
- "advertiser_name": "string",
- "app_id": "string",
- "app_version": "string",
- "asn": 0,
- "begin_install_time": "2019-08-24T14:15:22Z",
- "browser_language": [
- "string"
], - "browser_name": "string",
- "browser_timezone": "string",
- "browser_version": "string",
- "city": "string",
- "click_ip": "string",
- "click_time": "2019-08-24T14:15:22Z",
- "click_tx_id": "string",
- "conversion_ip": "string",
- "conversion_time": "2019-08-24T14:15:22Z",
- "country": "string",
- "coupon_code": "string",
- "device_id": "string",
- "device_type": "string",
- "event_db_id": "string",
- "event_id": 0,
- "event_name": "string",
- "event_status": 0,
- "external_transaction_id": "string",
- "extra_params.keys": [
- "string"
], - "extra_params.values": [
- "string"
], - "filter_group_id": "string",
- "fingerprint": "string",
- "finish_install_time": "2019-08-24T14:15:22Z",
- "hash": "string",
- "integration_id": "string",
- "integration_type": "string",
- "invalid_sub_id": "string",
- "ip_network": "string",
- "is_bot": 0,
- "is_click_spam": 0,
- "is_low_session_time": 0,
- "is_old_browser": 0,
- "is_old_os": 0,
- "isp": "string",
- "lat": 0,
- "long": 0,
- "manager_id": "string",
- "manager_name": "string",
- "network": "string",
- "offer": "string",
- "offer_db_id": "string",
- "offer_group_id": "string",
- "offer_id": "string",
- "offer_id_name": "string",
- "organization_id": "string",
- "os_name": "string",
- "os_version": "string",
- "payout": 0,
- "postal_code": "string",
- "proxy_type": "string",
- "publisher": "string",
- "publisher_db_id": "string",
- "publisher_name": "string",
- "purchase_value": 0,
- "real_advertiser": "string",
- "real_filter_group_id": "string",
- "real_offer_id": "string",
- "real_publisher": "string",
- "real_rejected_advanced_reason": "string",
- "real_rejected_simple_reason": "string",
- "real_tx_id": "string",
- "referer": "string",
- "referer_categories": [
- "string"
], - "rejected": 0,
- "rejected_advanced_reason": "string",
- "rejected_language": "string",
- "rejected_simple_reason": "string",
- "rejection_type": "string",
- "rejections": [
- "string"
], - "request_time": "2019-08-24T14:15:22Z",
- "revenue": 0,
- "risk": "string",
- "rtt": 0,
- "score": 0,
- "server_ip": "string",
- "server_region": "string",
- "session_time": 0,
- "smart_link_id": "string",
- "smartlink_db_id": "string",
- "status": "Approved",
- "sub_id": "string",
- "sub_id_2": "string",
- "sub_id_3": "string",
- "sub_id_4": "string",
- "sub_id_5": "string",
- "sub_id_6": "string",
- "tags": [
- "string"
], - "targeting_group_id": "string",
- "third_party_rejection_reason": "string",
- "third_party_status": "string",
- "tx_id": "string",
- "user_agent": "string",
- "user_email": "string",
- "uuid": "string"
}
}
organizationID required | string The Organization ID |
start_date required | string <date> Fetch data where request_time is starting from this date |
end_date required | string <date> Fetch data where request_time is until this date |
timezone | string Optional IANA timezone, Defaults to UTC |
page[size] required | integer The number of items to return |
page[before] | string Fetch the previous data before this cursor |
page[after] | string Fetch the next data after this cursor |
object (report.ConversionTable) |
{- "data": {
- "count": 0,
- "data": [
- {
- "advertiser": "string",
- "advertiser_db_id": "string",
- "advertiser_name": "string",
- "app_id": "string",
- "app_version": "string",
- "asn": 0,
- "begin_install_time": "2019-08-24T14:15:22Z",
- "browser_language": [
- "string"
], - "browser_name": "string",
- "browser_timezone": "string",
- "browser_version": "string",
- "city": "string",
- "click_ip": "string",
- "click_time": "2019-08-24T14:15:22Z",
- "click_tx_id": "string",
- "conversion_ip": "string",
- "conversion_time": "2019-08-24T14:15:22Z",
- "country": "string",
- "coupon_code": "string",
- "device_id": "string",
- "device_type": "string",
- "event_db_id": "string",
- "event_id": 0,
- "event_name": "string",
- "event_status": 0,
- "external_transaction_id": "string",
- "extra_params.keys": [
- "string"
], - "extra_params.values": [
- "string"
], - "filter_group_id": "string",
- "fingerprint": "string",
- "finish_install_time": "2019-08-24T14:15:22Z",
- "hash": "string",
- "integration_id": "string",
- "integration_type": "string",
- "invalid_sub_id": "string",
- "ip_network": "string",
- "is_bot": 0,
- "is_click_spam": 0,
- "is_low_session_time": 0,
- "is_old_browser": 0,
- "is_old_os": 0,
- "isp": "string",
- "lat": 0,
- "long": 0,
- "manager_id": "string",
- "manager_name": "string",
- "network": "string",
- "offer": "string",
- "offer_db_id": "string",
- "offer_group_id": "string",
- "offer_id": "string",
- "offer_id_name": "string",
- "organization_id": "string",
- "os_name": "string",
- "os_version": "string",
- "payout": 0,
- "postal_code": "string",
- "proxy_type": "string",
- "publisher": "string",
- "publisher_db_id": "string",
- "publisher_name": "string",
- "purchase_value": 0,
- "real_advertiser": "string",
- "real_filter_group_id": "string",
- "real_offer_id": "string",
- "real_publisher": "string",
- "real_rejected_advanced_reason": "string",
- "real_rejected_simple_reason": "string",
- "real_tx_id": "string",
- "referer": "string",
- "referer_categories": [
- "string"
], - "rejected": 0,
- "rejected_advanced_reason": "string",
- "rejected_language": "string",
- "rejected_simple_reason": "string",
- "rejection_type": "string",
- "rejections": [
- "string"
], - "request_time": "2019-08-24T14:15:22Z",
- "revenue": 0,
- "risk": "string",
- "rtt": 0,
- "score": 0,
- "server_ip": "string",
- "server_region": "string",
- "session_time": 0,
- "smart_link_id": "string",
- "smartlink_db_id": "string",
- "status": "Approved",
- "sub_id": "string",
- "sub_id_2": "string",
- "sub_id_3": "string",
- "sub_id_4": "string",
- "sub_id_5": "string",
- "sub_id_6": "string",
- "tags": [
- "string"
], - "targeting_group_id": "string",
- "third_party_rejection_reason": "string",
- "third_party_status": "string",
- "tx_id": "string",
- "user_agent": "string",
- "user_email": "string",
- "uuid": "string"
}
], - "pageInfo": {
- "endCursor": "string",
- "hasNextPage": true,
- "hasPreviousPage": true,
- "startCursor": "string"
}
}
}
organizationID required | string The Organization ID |
start_date required | string <date> Fetch data where request_time is starting from this date |
end_date required | string <date> Fetch data where request_time is until this date |
timezone | string Optional IANA timezone, Defaults to UTC |
page[size] required | integer The number of items to return |
page[before] | string Fetch the previous data before this cursor |
page[after] | string Fetch the next data after this cursor |
object (report.ImpressionTable) |
{- "data": {
- "count": 0,
- "data": [
- {
- "advertiser": "string",
- "advertiser_db_id": "string",
- "advertiser_id": "string",
- "asn": 0,
- "blocked": 0,
- "browser_language": [
- "string"
], - "browser_name": "string",
- "browser_timezone": "string",
- "browser_version": "string",
- "bundle_id": "string",
- "city": "string",
- "click_ip": "string",
- "country": "string",
- "device_id": "string",
- "device_type": "string",
- "extra_params.keys": [
- "string"
], - "extra_params.values": [
- "string"
], - "filter_group_id": "string",
- "fingerprint": "string",
- "integration_id": "string",
- "integration_type": "string",
- "invalid_sub_id": "string",
- "ip_network": "string",
- "is_bot": 0,
- "is_old_browser": 0,
- "is_old_os": 0,
- "isp": "string",
- "lat": 0,
- "long": 0,
- "manager_id": "string",
- "manager_name": "string",
- "monitoring_mode": 0,
- "offer_db_id": "string",
- "offer_id": "string",
- "organization_id": "string",
- "os_name": "string",
- "os_version": "string",
- "payout": 0,
- "postal_code": "string",
- "proxy_type": "string",
- "publisher": "string",
- "publisher_db_id": "string",
- "real_advertiser": "string",
- "real_filter_group_id": "string",
- "real_offer_id": "string",
- "real_publisher": "string",
- "real_tx_id": "string",
- "referer": "string",
- "referer_categories": [
- "string"
], - "rejected_advanced_reason": "string",
- "rejected_language": "string",
- "rejected_primary_reason": "string",
- "rejected_simple_reason": "string",
- "rejection_type": "string",
- "rejections": [
- "string"
], - "request_date": "2019-08-24",
- "request_time": "2019-08-24T14:15:22Z",
- "revenue": 0,
- "rtt": 0,
- "server_region": "string",
- "site_url": "string",
- "site_url_categories": [
- "string"
], - "status": "string",
- "sub_id": "string",
- "sub_id_2": "string",
- "sub_id_3": "string",
- "sub_id_4": "string",
- "sub_id_5": "string",
- "sub_id_6": "string",
- "tags": [
- "string"
], - "targeting_group_id": "string",
- "tx_id": "string",
- "user_agent": "string",
- "user_email": "string",
- "uuid": "string"
}
], - "pageInfo": {
- "endCursor": "string",
- "hasNextPage": true,
- "hasPreviousPage": true,
- "startCursor": "string"
}
}
}