Skip to main content
POST
Create landing page

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.

Body

application/json
title
string
required
Maximum string length: 128
url
string
required
status
integer
required

1=active, 3=inactive.

type
integer

1=default, 2=preview, 3=public, 4=private. Default 3.

preview
string
visible_to_all_affiliates
enum<integer>
Available options:
0,
1
visible_to_specific_affiliates_only

Affiliates the landing page is limited to. Accepts a comma-separated string of IDs, a list of IDs, or the list of {id, title} objects GET returns (only id is read). An empty string or list clears it. Anything else, or an ID with no affiliate, is a validation error.

Example:

"12,15"

geo_allowed
string

Comma-separated geoname IDs.

geo_denied
string

Comma-separated geoname IDs.

rules
string

JSON rules.

percent
integer
language
string

ISO 639-1 language code.

Maximum string length: 128
image_data
string

Base64-encoded preview image.

Response

Landing page created.

status
string
Example:

"success"

code
integer
Example:

200

name
string
Example:

"OK"

message
string
info
object