Creates a new postback for the authenticated affiliate. A postback fires when a conversion or event occurs, notifying the affiliate’s system via a URL call, HTML pixel, or Facebook pixel integration.
The affiliate's API key generated from the Affiliate Portal. Uses the X-Eflow-Api-Key header.
How the postback is delivered. Use "postback" for server-to-server URL calls, "html" for HTML/JavaScript pixel code, or "facebook" for Facebook pixel integration.
html, postback, facebook Scope of the postback. "global" fires for all offers, "specific" fires only for the offer specified by network_offer_id.
global, specific Whether the postback is active or inactive.
active, inactive Type of event that triggers the postback. "conversion" fires on conversions, "post_conversion" fires on post-conversion events, "cpc" fires on clicks.
conversion, post_conversion, cpc The URL to call when the postback fires. Supports macros like {transaction_id}, {revenue}, {offer_id}, {sub1}–{sub5}. Required when delivery_method is "postback".
HTML or JavaScript code for the pixel. Required when delivery_method is "html".
The offer ID this postback applies to. Required when pixel_level is "specific".
Delay in milliseconds before firing the postback. Maximum value is 300000 (5 minutes). Defaults to 0.
x <= 300000Facebook pixel configuration. Required when delivery_method is "facebook".
OK
Unique identifier for the postback.
Delivery method (html, postback, facebook).
Scope of the postback (global, specific).
Whether the postback is active or inactive.
Type of event trigger (conversion, post_conversion, cpc).
URL called when the postback fires.
HTML/JavaScript pixel code.
Associated offer ID (0 if global).
Delay in milliseconds before firing.
Facebook pixel configuration.