Request a particular page
Contents
Get a single page by its key.
Requires the API Token. See Authentication.
HTTP Request
GET /api/pages/{key}
The {key} may be hierarchical (parent/child) for child pages.
Parameters
| Key | Type | Description |
|---|---|---|
token (required) |
string | API Token. |
Response
HTTP Code: 200
Content-Type: application/json
Body:
{
"status": "0",
"message": "Page filtered by key: my-dog",
"data": {
"key": "my-dog",
"uuid": "8a4f2b3c-1234-5678-9abc-def012345678",
"title": "My dog",
"description": "...",
"type": "published",
"slug": "my-dog",
"content": "<p>...</p>",
"contentRaw": "...",
"date": "2026-02-02 00:09:38",
"dateRaw": "2026-02-02 00:09:38",
"dateUTC": "2026-02-02 22:09:38",
"tags": {},
"username": "admin",
"category": "",
"permalink": "https://www.example.com/my-dog",
"coverImage": false,
"coverImageFilename": false
}
}
See Page object for the full field reference.
Errors
| Code | Reason |
|---|---|
404 |
No page exists with the given key. |
CURL command example
$ curl -X GET "https://www.example.com/api/pages/my-dog?token=<api-token>"
Javascript example
<script>
fetch("https://www.example.com/api/pages/my-dog?token=<api-token>", {
method: 'GET'
})
.then(response => response.json())
.then(json => console.log(json.data));
</script>