GET/ landing-page/
Get all landing pages
You can return all of your existing landing pages.
Results are paginated: follow next to get the next page (see Response pagination).
Request
- cURL
- JavaScript
- PHP
- Python
curl -X GET "https://<your_app_subdomain>.user.com/api/public/landing-page/" \
-H "Authorization: Token <your_64_char_api_key>" \
-H "Accept: */*; version=2"
const response = await fetch(
"https://<your_app_subdomain>.user.com/api/public/landing-page/",
{
method: "GET",
headers: {
Authorization: "Token <your_64_char_api_key>",
Accept: "*/*; version=2",
},
},
);
const data = await response.json();
console.log(data);
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://<your_app_subdomain>.user.com/api/public/landing-page/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Token <your_64_char_api_key>",
"Accept: */*; version=2",
],
]);
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
response = requests.get(
"https://<your_app_subdomain>.user.com/api/public/landing-page/",
headers={
"Authorization": "Token <your_64_char_api_key>",
"Accept": "*/*; version=2",
},
)
print(response.json())
Response examples
- 200 OK
{"count": 2,"next": null,"previous": null,"results": [{"id": "mvrxkp","description": null,"name": "Example name","total_views": 0,"total_conversions": 0,"status": 1,"category": null,"created_at": "2026-11-02T10:24:23.746083Z","published_at": null,"folder": null},{"id": "Example id","description": null,"name": "Example name","total_views": 0,"total_conversions": 0,"status": 1,"category": null,"created_at": "2026-11-02T10:22:06.327861Z","published_at": null,"folder": null}]}Response fields
Fields returned in the 200 OK response body.
- count
- Number of results across all pages. It can lag behind recent changes; see Response pagination.
- next
- URL of the next page of results. null on the last page.
- previous
- URL of the previous page of results. null on the first page.
- results
- Results on this page.
- results[].
id - ID of the landing page, a 6-character string.
- results[].
description - Description of the landing page, or
null. - results[].
name - Name of the landing page.
- results[].
total_views - Number of times the landing page was viewed.
- results[].
total_conversions - Conversion rate of the landing page: conversions as a percentage of views, rounded down (despite the name, not a count).
- results[].
status - Status of the landing page:
1draft,2active,3disabled or4archived. - results[].
category - ID of the landing page's category, or
null. - results[].
created_at - When the landing page was created, ISO 8601.
- results[].
published_at - When the landing page was last activated, ISO 8601;
nullif it never was. - results[].
folder - ID of the folder the campaign is in, or
null.
- results[].
note
Errors that can come from any endpoint (401, 429, 500, 502, 504) are described in HTTP response codes.