Skip to main content
POST
Create landing page

Authorizations

X-API-Key
string
header
required

Preferred authentication method. 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
string

Comma-separated affiliate IDs.

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