Skip to main content

Get a Specific Custom Page

This endpoint retrieves a specific custom page.

info

Custom Pages are a "public object" visible both to not authenticated users and in closed communities.

HTTP Request

GET /api/v2/custom_page/{id}/ or GET /api/v2/custom_page/{slug}/

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying this custom page
slugpathstringtrueThe slug identifying this custom page

Example Request

const headers = {
'Accept':'application/json',
'Authorization': 'Bearer {access_token}'
};

fetch('/api/v2/custom_page/{id}/' or fetch('/api/v2/custom_page/{slug}/',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

Responses

StatusMeaningDescriptionSchema
200OKResponse status codeCustom Page