Skip to main content

Get a Specific Custom Page

This endpoint retrieves a specific custom page.

info

This operation requires authentication only if content_availability community option is false.

HTTP Request

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

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying this custom page.

Example Request

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

fetch('/api/v2/custom_page/{id}/',
{
method: 'GET',

headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

Responses

StatusMeaningDescriptionSchema
200OKnoneCustom Page

Example responses

{
"id": 0,
"slug": "string",
"label": "string",
"title": "string",
"alternative_url": "string",
"html_body": "string",
"visible_in_menu": true,
"order": -2147483648,
"created_at": "2019-08-24T14:15:22Z",
"lastmod_datetime": "2019-08-24T14:15:22Z",
"active": true,
"created_by": 0
}