Landing Pages
Render Landing Page Preview
Get a visitor-facing preview URL for a landing page without publishing it
POST
/
api
/
v1
/
landing-pages
/
{landingPageId}
/
render
Render Landing Page Preview
curl --request POST \
--url https://api.sequenzy.com/api/v1/landing-pages/{landingPageId}/render \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sequenzy.com/api/v1/landing-pages/{landingPageId}/render"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sequenzy.com/api/v1/landing-pages/{landingPageId}/render', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sequenzy.com/api/v1/landing-pages/{landingPageId}/render",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sequenzy.com/api/v1/landing-pages/{landingPageId}/render"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.sequenzy.com/api/v1/landing-pages/{landingPageId}/render")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sequenzy.com/api/v1/landing-pages/{landingPageId}/render")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"landingPageId": "lp_abc123",
"name": "Product Waitlist",
"status": "draft",
"published": false,
"title": "Join the Acme waitlist",
"previewUrl": "https://sequenzy.com/lp/preview/lp_abc123?token=...",
"publicUrl": null,
"message": "Draft preview. This URL is not indexed and is not on your public domain. Signup forms do not collect contacts until you publish. Open previewUrl to review the page as visitors will see it."
}
{
"error": "Unauthorized"
}
{
"error": "Landing page not found"
}
Return a signed, unlisted preview of the current landing page content. Use this
to check layout, copy, form placement, and in-page anchors such as
#form
before the page is live.
Drafts keep publicUrl and appPublicUrl set to null until you publish.
previewUrl works for drafts and published pages. It is not indexed, does not
count as a public view, and signup forms on a draft preview do not collect
contacts.
This endpoint is read-only. It requires the
landing_pages:read scope and
never publishes, unpublishes, or modifies the page. It uses POST to match
the other render endpoints.Request
string
required
Landing page ID.
curl -X POST "https://api.sequenzy.com/api/v1/landing-pages/lp_abc123/render" \
-H "Authorization: Bearer YOUR_API_KEY"
Responses
{
"success": true,
"landingPageId": "lp_abc123",
"name": "Product Waitlist",
"status": "draft",
"published": false,
"title": "Join the Acme waitlist",
"previewUrl": "https://sequenzy.com/lp/preview/lp_abc123?token=...",
"publicUrl": null,
"message": "Draft preview. This URL is not indexed and is not on your public domain. Signup forms do not collect contacts until you publish. Open previewUrl to review the page as visitors will see it."
}
{
"error": "Unauthorized"
}
{
"error": "Landing page not found"
}
⌘I
Render Landing Page Preview
curl --request POST \
--url https://api.sequenzy.com/api/v1/landing-pages/{landingPageId}/render \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sequenzy.com/api/v1/landing-pages/{landingPageId}/render"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sequenzy.com/api/v1/landing-pages/{landingPageId}/render', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sequenzy.com/api/v1/landing-pages/{landingPageId}/render",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sequenzy.com/api/v1/landing-pages/{landingPageId}/render"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.sequenzy.com/api/v1/landing-pages/{landingPageId}/render")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sequenzy.com/api/v1/landing-pages/{landingPageId}/render")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"landingPageId": "lp_abc123",
"name": "Product Waitlist",
"status": "draft",
"published": false,
"title": "Join the Acme waitlist",
"previewUrl": "https://sequenzy.com/lp/preview/lp_abc123?token=...",
"publicUrl": null,
"message": "Draft preview. This URL is not indexed and is not on your public domain. Signup forms do not collect contacts until you publish. Open previewUrl to review the page as visitors will see it."
}
{
"error": "Unauthorized"
}
{
"error": "Landing page not found"
}