Skip to main content
GET
Download offer asset

Authorizations

X-API-Key
string
header
required

Pass the API key in the X-API-Key HTTP request header. The user account must have api_status enabled.

Path Parameters

offer_id
integer
required

Offer ID.

asset_id
integer
required

Asset/creative ID.

Query Parameters

redirect
enum<string>

Banner creatives only; ignored for every other type. 0 answers JSON with a presigned S3 URL instead of the file (info.url, info.fileName), 1 answers 302 to that URL. Omitted, a banner answers 302.

Available options:
0,
1

Response

HTML/email or XML feed: the file. Banner with redirect=0: the presigned download URL as JSON.

The response is of type file.