Перейти к содержимому

Create a landing

POST
/api/v1/landings
curl --request POST \
--url https://example.com/api/v1/landings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "US nutra pre-lander v3", "type": "redirect", "url": "https://prelander.example.com/promo", "isActive": true }'
Media typeapplication/json
object
name
required
string

Example

US nutra pre-lander v3
type

Only “redirect” is supported today — the landing is a URL the visitor is sent to (with ?offer_url=… appended), not a page we host.

string
Allowed values: redirect
url
required
string

Example

https://prelander.example.com/promo
isActive
boolean
Media typeapplication/json
object
id
required
string
workspaceId
required
string
name
required
string
type
required
string
Allowed values: redirect
url
required
string
healthStatus
required
string
Allowed values: healthy unhealthy unknown
isActive
required
boolean
createdAt
required
string
updatedAt
string

Example

{
"type": "redirect",
"healthStatus": "healthy"
}