Offers
An offer is an advertiser's proposal within a CPA network: GEO, payout type, fixed rate, KPI, bonuses by country and daily cap. One offer can have several flows (links). In the dashboard, this is the Tracker → Offers section (see Offers).
Getting a token, the general response format, list parameters and errors are covered in the main article of the section.
Scopes
| Scope | Access | In PAT default |
|---|---|---|
api:offers |
read: list and offer card | yes |
api:offers:write |
create and edit | no |
Endpoints
| Method | Path | Scope | RBAC permission |
|---|---|---|---|
GET |
/api/offers |
api:offers |
offer:list |
POST |
/api/offers |
api:offers:write |
offer:create |
GET |
/api/offers/{id} |
api:offers |
offer:read |
PATCH |
/api/offers/{id}?flow= |
api:offers:write |
offer:update |
All roles have all permissions. Visibility: ADMIN — all offers, TEAM_OWNER/TEAM_LEAD/TECH — team offers, BUYER — their own and those available through access settings. Someone else's offer → 404.
List parameters GET /api/offers
| Fields | |
|---|---|
Filters filter[...] |
cpa, team, user, name, country, type, isActive, language, tags |
Sorting sort |
name, isActive, created, updated, revenue |
| Default populate | user (name, email, avatar), team (name), cpa (name), tags |
# active offers of one CPA network for DE/AT, payout above 100
curl -G 'https://adset.pro/api/offers' \
-H 'Authorization: Bearer pat_…' \
--data-urlencode 'pageSize=100' \
--data-urlencode 'filter[cpa]=65f0a1b2c3d4e5f6a7b8c9d0' \
--data-urlencode 'filter[country][in]=DE,AT' \
--data-urlencode 'filter[isActive]=true' \
--data-urlencode 'sort=revenue:desc'
Offer object
| Field | Type | Description |
|---|---|---|
id |
string | ObjectId |
name |
string | name (required on create) |
description |
string | description |
isActive |
boolean | defaults to true |
cpa |
id | { id, name } |
CPA network (required on create) |
type |
cpa | agency |
payout model: cpa — per deposit according to KPI; agency — commission for traffic with a set FTD cost and KPI. Defaults to cpa |
country[] |
string[] | ISO-2 GEO codes (["DE", "AT"]) |
language |
string | offer language, defaults to en |
revenue |
number | fixed payout per FTD, defaults to 0 |
usePostbackRevenue |
boolean | true (default) — take the amount from the postback, use revenue only if the postback sent 0; false — always use the offer's revenue |
extOfferId |
string | offer id in the CPA network's dashboard |
bonus[] |
objects | bonuses by country: { country, value, value1, value2 }, used by macros in pushes and landings |
kpi |
object | { baseLine, baseLineTimeFrame, commission, commissionTimeFrame, commissionRoi, avgReDeposits } — advertiser terms (numbers, default 0) |
capacity |
object | daily cap: { isActive, dailyLimit, timeZone, alternative } — the CPA_ACCEPT limit per day, the time zone for resetting the counter, and the id of the flow that receives traffic after the cap is reached |
user, team |
id | object | owner and team |
tags[] |
id[] | objects | tags |
created, updated |
date | read-only |
POST /api/offers — create an offer
Required fields: name and cpa (id of a CPA network available to the token owner; otherwise 404). The team and owner are inherited from the CPA network by default.
// POST /api/offers
{
"name": "Casino X — DE",
"cpa": "65f0a1b2c3d4e5f6a7b8c9d0",
"type": "cpa",
"country": ["DE", "AT"],
"description": "Main DE offer",
"isActive": true,
"revenue": 120,
"usePostbackRevenue": true,
"extOfferId": "12345",
"bonus": [ { "country": "DE", "value": "100% up to 500 €", "value1": "", "value2": "" } ],
"capacity": { "isActive": true, "dailyLimit": 50, "timeZone": "UTC", "alternative": null },
"tags": []
}
Owner assignment:
| Token role | What is taken into account |
|---|---|
| ADMIN | user and team from the body if both are passed; otherwise — the owner and team of the CPA network |
| TEAM_OWNER, TEAM_LEAD, TECH | user from the body (the team comes from the CPA network) |
| BUYER | always becomes the owner |
Response — 201 Created, header Location: /offers/{id}:
{
"data": {
"id": "6650f0e1d2c3b4a5f6e7d8c9",
"name": "Casino X — DE",
"description": "Main DE offer",
"isActive": true,
"country": ["DE", "AT"],
"bonus": [ { "country": "DE", "value": "100% up to 500 €", "value1": "", "value2": "" } ],
"language": "en",
"type": "cpa",
"revenue": 120,
"usePostbackRevenue": true,
"capacity": { "isActive": true, "dailyLimit": 50, "timeZone": "UTC", "alternative": null },
"kpi": { "baseLine": 0, "baseLineTimeFrame": 0, "commission": 0, "commissionTimeFrame": 0, "commissionRoi": 0, "avgReDeposits": 0 },
"extOfferId": "12345",
"cpa": "65f0a1b2c3d4e5f6a7b8c9d0",
"user": "64a0…",
"team": "64b0…",
"tags": [],
"created": "2026-10-13T10:00:00.000Z",
"updated": "2026-10-13T10:00:00.000Z"
},
"traceId": "01HX…"
}
In the list and the card, cpa, user, team come as expanded objects (default populate); in the create response — as string ids.
PATCH /api/offers/{id} — update an offer
All fields are optional; pass only what you change — values that are not passed are kept. You can change cpa (move the offer to another network) and user (change the owner — only to a user available to the token owner).
The ?flow=true flag
If a new owner user is passed in the body, the flag sets it on all flows of this offer. Without the flag, the owner changes only for the offer.
# hand over the offer and its flows to another buyer
curl -X PATCH 'https://adset.pro/api/offers/6650f0e1d2c3b4a5f6e7d8c9?flow=true' \
-H 'Authorization: Bearer pat_…' \
-H 'Content-Type: application/json' \
-d '{ "user": "64a1…" }'
# turn off the offer and update the cap
curl -X PATCH 'https://adset.pro/api/offers/6650f0e1d2c3b4a5f6e7d8c9' \
-H 'Authorization: Bearer pat_…' \
-H 'Content-Type: application/json' \
-d '{ "isActive": false, "capacity": { "isActive": true, "dailyLimit": 30, "timeZone": "Europe/Berlin", "alternative": null } }'
Response 200 OK with the full object.
Errors
| HTTP | When |
|---|---|
403 forbidden + Insufficient OAuth scope. Required: api:offers:write |
A PAT with default read scopes calls POST/PATCH |
404 notFound |
the offer does not exist or belongs to someone else; the CPA network from cpa is not available to the token owner; the user from user is not available |
422 validationError |
no name or cpa; type other than cpa/agency; bonus[].country is not 2 characters; capacity.dailyLimit < 0 |
Related articles
- CPA networks — the parent entity
- Flows — offer links
- Campaigns — where the offer is used in
sets[].flows[] - Offers — the meaning of the fields in the interface
