GET/ landing-page/ :id/
Get single landing page
You can return details about the specific ladnig page.
To access a single ladnig page you need a 6 character ID, that can be found when listing all ladnig pages.
Request
- cURL
- JavaScript
- PHP
- Python
curl -X GET "https://<your_app_subdomain>.user.com/api/public/landing-page/:id/" \
-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/:id/",
{
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/:id/",
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/:id/",
headers={
"Authorization": "Token <your_64_char_api_key>",
"Accept": "*/*; version=2",
},
)
print(response.json())
Response examples
- 200 OK
- 404 Not Found
{
"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
}
{
"detail": "No LandingPage matches the given query."
}
Response fields
Fields returned in the 200 OK response body.
- id
- ID of the landing page, a 6-character string.
- description
- Description of the landing page, or
null. - name
- Name of the landing page.
- total_views
- Number of times the landing page was viewed.
- total_conversions
- Conversion rate of the landing page: conversions as a percentage of views, rounded down (despite the name, not a count).
- status
- Status of the landing page:
1draft,2active,3disabled or4archived. - category
- ID of the landing page's category, or
null. - created_at
- When the landing page was created, ISO 8601.
- published_at
- When the landing page was last activated, ISO 8601;
nullif it never was. - folder
- ID of the folder the campaign is in, or
null.
note
Errors that can come from any endpoint (401, 429, 500, 502, 504) are described in HTTP response codes.