Create a new post back of the affiliate
HTTP method
Endpoint
POST
/v1/affiliate_postbacks
Note:offer_id = 0, representing the choice of offers all.
Adding a new parameter, event_id, in Affiliate Postback module method. It is compatible with last version, and the default value is 1.
Request body parameters
Field
Type
Description
Nullable
offer_id
integer
No
affiliate_id
integer
No
event_id
integer
Event id.
code
string
Must be URL format.
No
type
integer
The type of Postback URL. Allowed values: 1:Image Pixel; 2:Postback URL; 3:HTML Pixel
No
Tracking Parameters
{click_id}
{offer_id}
{event_id}
{country_id}
{aff_id}
{adv_id}
{adv_sub1}
{adv_sub2}
{adv_sub3}
{aff_sub1}
{aff_sub2}
{aff_sub3}
{aff_sub4}
{aff_sub5}
{source_id}
{agent}
{click_time}
{payout}
{referer}
{accept_lan}
{ip}
{unique_click}
{currency}
{ios_idfa}
{android_id}
{google_aid}
{conversion_ip}
{amount}
Response body parameters
Field
Type
Description
id
integer
The unique id for the affiliate postback.
offer_id
integer
Offer id.
affiliate_id
integer
Affiliate id.
event_id
integer
Event id.
code
string
status
string
The status of the postback.
type
integer
The type of code. Possible Values: 1:Image Pixel; 2:Postback URL; 3:HTML Pixel
create_time
integer
Create time.
update_time
integer
Update time.
Example request
Request POST https://{networkname}.api.offerslook.com/v1/affiliate_postbacks
Request POST http://{networkname}.api.offerslook.com/v1/affiliate_postbacks
Example response
Last updated