Skip to main content
POST
/
networks
/
custom
/
landingpages
Create Custom Landing Page Setting
curl --request POST \
  --url https://api.eflow.team/v1/networks/custom/landingpages \
  --header 'Content-Type: application/json' \
  --header 'X-Eflow-Api-Key: <api-key>' \
  --data '
{
  "network_offer_id": 1,
  "name": "Custom LP for Affiliate 7",
  "network_offer_landing_page_id": 1,
  "destination_url": "https://example.com/landing",
  "custom_setting_status": "active",
  "is_apply_all_affiliates": false,
  "network_affiliate_ids": [
    7
  ],
  "network_offer_creative_ids": [],
  "description": "",
  "date_valid_from": "",
  "date_valid_to": ""
}
'
{
  "network_custom_landing_page_setting_id": 123,
  "network_id": 123,
  "is_apply_all_affiliates": true,
  "network_affiliate_ids": [
    123
  ],
  "network_offer_id": 123,
  "name": "<string>",
  "network_offer_landing_page_id": 123,
  "description": "<string>",
  "destination_url": "<string>",
  "custom_setting_status": "active",
  "date_valid_from": "<string>",
  "date_valid_to": "<string>",
  "network_offer_creative_ids": [
    123
  ],
  "time_created": 1734455015,
  "time_saved": 1734455015,
  "relationship": {
    "affiliates": [
      {
        "network_affiliate_id": 123,
        "network_id": 123,
        "name": "<string>",
        "account_status": "<string>"
      }
    ],
    "offer": {
      "network_offer_id": 123,
      "network_id": 123,
      "network_advertiser_id": 123,
      "network_offer_group_id": 123,
      "name": "<string>",
      "offer_status": "<string>",
      "network_tracking_domain_id": 123,
      "visibility": "<string>",
      "currency_id": "<string>"
    },
    "variables": {
      "total": 123,
      "entries": [
        {
          "network___custom___landing___page___setting___variable___id": 123,
          "network___custom___landing___page___setting___id": 123,
          "comparison_method": "<string>",
          "variable": "<string>",
          "variable_value": "<string>",
          "variable_secondary_value": "<string>"
        }
      ]
    }
  }
}
Create a new custom landing page setting. Custom landing pages allow you to override the default offer URL for specific affiliates, directing their traffic to a different landing page.

Authorizations

X-Eflow-Api-Key
string
header
required

The Everflow API key generated from the Control Center > Security.

Body

application/json
is_apply_all_affiliates
boolean
required

Whether this setting applies to all affiliates.

network_offer_id
integer
required

The offer ID for this landing page setting.

name
string
required

Display name for this custom landing page setting.

network_offer_landing_page_id
integer
required

The offer landing page ID to override.

destination_url
string
required

The custom destination URL.

custom_setting_status
enum<string>
required

Status of the landing page setting.

Available options:
active,
inactive
network_offer_creative_ids
integer[]
required

Array of offer creative IDs associated with this setting.

network_affiliate_ids
integer[]

Array of affiliate IDs this setting applies to. Required when is_apply_all_affiliates is false.

description
string

Optional description for this setting.

date_valid_from
string

Start date for when this setting is active (YYYY-MM-DD).

date_valid_to
string

End date for when this setting expires (YYYY-MM-DD).

ruleset
object

Targeting ruleset for this custom landing page setting. Allows you to restrict when this custom landing page is used based on geographic, device, browser, and connection criteria. See the Ruleset guide for details.

variables
object[]

Goal condition variables that must match for this custom landing page to take effect. Each variable defines a condition based on tracking parameters.

Response

200 - application/json
network_custom_landing_page_setting_id
integer

Unique custom landing page setting ID.

network_id
integer

Network ID.

is_apply_all_affiliates
boolean

Whether this setting applies to all affiliates.

network_affiliate_ids
integer[]

Array of affiliate IDs this setting applies to.

network_offer_id
integer

The associated offer ID.

name
string

Display name for this custom landing page setting.

network_offer_landing_page_id
integer

The offer landing page ID to override.

description
string

Description for this setting.

destination_url
string

The custom destination URL.

custom_setting_status
enum<string>

Status of the landing page setting.

Available options:
active,
inactive
date_valid_from
string

Start date for when this setting is active (YYYY-MM-DD).

date_valid_to
string

End date for when this setting expires (YYYY-MM-DD).

network_offer_creative_ids
integer[] | null

Array of offer creative IDs associated with this setting.

time_created
integer

Unix timestamp of creation.

Example:

1734455015

time_saved
integer

Unix timestamp of last update.

Example:

1734455015

relationship
object