API
Get Blocked List
Adscend Offers API Parameters
Your publisher ID pubID, and API Key api_key values are needed for every API call.
These values can be found at Offers API section of the publisher dashboard.
If you would like us to notify you whenever an offer is completed (lead generated), set up a server postback.
Get Blocked List
Using the ids parameter, you can get a list of users who are blocked from the offer
wall.
If the ids parameter is not provided, the API will return a list of all blocked users.
If you provide the ids parameter, the API will return only users who exist in the list and
are blocked.
Using the page and per_page URL parameters, you can limit the number of blocked
users per page and control the number of pages our API should return.
You will get response 404 when pubID doesn't exist.
https://api.adscendmedia.com/v1/publisher/{pubId}/users?page={page}&per_page={per_page}
Example JSON Body Request:
{
"ids":["698155", "690241", "698151", "698153", "698154"]
}
| Parameters | Description | Type | |
|---|---|---|---|
pubId |
Required | Your publisher ID | Number |
ids |
Optional | List of users to check for blocking | Array (String) |
page |
Optional | Number of pages you want returned. Default: 1 | Number |
per_page |
Optional | How many users per page you return. Default: 50 | Number |
Response 200
Content-Type: application/json
{
"data": {
"page": 1,
"per_page": 50,
"users": [
{
"user_id": "698155",
"created_at": "2024-04-15 11:07:49"
},
{
"user_id": "690241",
"created_at": "2024-04-15 11:07:49"
}
]
},
"details": {
"status": "OK"
},
"ok": true,
"code": 200
}