Skip to main content
POST
/
api
/
v2
/
network
/
offers
/
{offer_id}
/
urls
Create landing page
curl --request POST \
  --url 'https://{domain}/api/v2/network/offers/{offer_id}/urls?api-key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "string",
  "url": "https://example.com",
  "status": 1,
  "type": 1,
  "preview": "string",
  "visible_to_all_affiliates": 0,
  "visible_to_specific_affiliates_only": "string",
  "geo_allowed": "string"
}
'
{
  "status": "success",
  "code": 200,
  "name": "OK",
  "message": "<string>",
  "info": {
    "url": {}
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.scaleo.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

api-key
string
query
required

API key passed as query parameter. User 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