Get information about a specific offer’s postback url

HTTP method

Endpoint

GET

/aff/v1/offers/{offer_id}/postbacks

Path parameters

Parameter

Description

offer_id

The unique id for the offer.

Note: this offer must be approved by the audit.

Response body parameters

Field

Type

Description

id

integer

Affiliate postback id.

offer_id

integer

Offer id. Offer_id=0 indicates the Postback is a Global Postback.

affiliate_id

integer

Affiliaite id

event_id

integer

Event id.

code

string

Code.

status

string

Status of Postback. pending; approved; rejected

type

string

Type of code. 1:Image Pixel; 2:Postback URL; 3:HTML Pixel

create_time

integer

Create time.

update_time

integer

Update time.

Example request

Request GET https://{networkname}.api.offerslook.com/aff/v1/offers/102/postbacks

Request GET http://{networkname}.api.offerslook.com/aff/v1/offers/102/postbacks

Example response

    {
      "code": 0,
      "message": "Success",
      "data": {
        "postback": [
          {
            "id": 210,
            "offer_id": 102,
            "affiliate_id": 161,
            "event_id": 1,
            "type": 2,
            "code": "https://www.offerslook.com/signup.html",
            "status": "approved",
            "create_time": 1478031171,
            "update_time": 1478231171
          },
          {
            "id": 211,
            "offer_id": 102,
            "affiliate_id": 161,
            "event_id": 2,
            "type": 1,
            "code": "<img src="https: //www.offerslook.com">",
            "status": "pending",
            "create_time": 1478031196,
            "update_time": 1478031196
          }
        ]
      }
    }

Last updated