Headless APIAPI Reference
Pages
Fetch static pages and their content sections from the QUANTM7 API.
Get a page
Returns a single page by its handle, including all content sections.
GET /v1/pages/{handle}Auth: Publishable or secret key
Path parameters
| Parameter | Type | Description |
|---|---|---|
handle | string | Page handle (URL slug) |
Response
{
"data": {
"id": 8,
"public_id": "01J9DEF...",
"title": "About Us",
"handle": "about-us",
"featured_image_src": "https://cdn.quantm7.com/store/pages/about-hero.webp",
"featured_image_alt": "Our workshop",
"seo_title": "About Us | My Store",
"seo_description": "Learn about our story and values.",
"body_sections": null,
"published_at": "2026-03-01T12:00:00.000Z",
"created_at": "2026-02-28T10:00:00.000Z",
"updated_at": "2026-07-15T08:30:00.000Z",
"sections": [
{
"id": 1,
"section_type": "rich_text",
"data": {
"heading": "Our Story",
"body": "<p>We started in a small workshop...</p>",
"bg_color": "#ffffff",
"text_color": "#111111"
},
"position": 1
},
{
"id": 2,
"section_type": "image_text",
"data": {
"heading": "Handmade with care",
"body": "<p>Every piece is crafted by hand.</p>",
"image_src": "https://cdn.quantm7.com/store/pages/workshop.webp",
"image_alt": "Artisan at work",
"layout": "image-left"
},
"position": 2
},
{
"id": 3,
"section_type": "faq",
"data": {
"heading": "Common questions",
"items": [
{ "question": "Do you ship internationally?", "answer": "Yes, we ship to over 50 countries." }
]
},
"position": 3
}
]
}
}Page fields
| Field | Type | Description |
|---|---|---|
id | integer | Page ID |
public_id | string | Public UUID |
title | string | Page title |
handle | string | URL-safe slug |
featured_image_src | string or null | Hero image URL |
featured_image_alt | string or null | Hero image alt text |
seo_title | string or null | SEO page title |
seo_description | string or null | SEO meta description |
body_sections | object or null | Legacy body content |
published_at | string | Publish date (ISO 8601) |
created_at | string | Creation date |
updated_at | string | Last update date |
sections | array | Content sections (see below) |
Content sections
Pages and blog posts share the same section system. Each section has a section_type and a data object with type-specific fields.
| Section type | Description | Key data fields |
|---|---|---|
rich_text | Formatted text block | heading, body, bg_color, text_color |
image_text | Image paired with text | heading, body, image_src, image_alt, layout |
faq | Accordion of questions and answers | heading, items (array of question/answer) |
gallery | Grid of images | heading, images (array of src/alt) |
banner | Full-width image with overlay text | heading, body, image_src, cta_text, cta_url |
video | Embedded video | heading, video_url, provider |
divider | Visual separator | style |
table | Data table | heading, headers, rows |
Errors
| Status | Code | Description |
|---|---|---|
| 404 | not_found | No page with this handle exists |
Example
curl https://api.quantm7.com/v1/pages/about-us \
-H "Authorization: Bearer q7_pk_your_key"