Skip to main content
POST
Get All Deals
Fetch all deals across offers with optional filtering by offer IDs. Returns deals with their relationships including associated resources and offers. Results are paginated.

Authorizations

X-Eflow-Api-Key
string
header
required

The affiliate's API key generated from the Affiliate Portal. Uses the X-Eflow-Api-Key header.

Body

application/json
network_offer_ids
integer[]

Optional list of offer IDs to filter deals by. If omitted, returns deals for all offers the affiliate can access.

page
integer
default:1

Page number for pagination (1-based).

page_size
integer
default:50

Number of results per page.

Response

200 - application/json
deals
object[]

Array of deals matching the filter criteria.

paging
object

Pagination metadata.