Endpoints
| Method | Path | Description |
|---|
GET | /api/v2/pages?sectionId={section_id} | List pages in a section |
POST | /api/v2/pages | Create pages |
PATCH | /api/v2/pages/{page_id} | Update a page |
DELETE | /api/v2/pages/{page_id} | Delete a page and its content |
Access levels
| Value | Behaviour |
|---|
visible | Shown to everyone |
restricted | Requires password or sign-in |
locked | Visible but not accessible |
hidden | Not shown to the buyer |
List pages
GET /api/v2/pages?sectionId={section_id}
curl "https://api.flowla.com/api/v2/pages?sectionId=<section_id>" \
-H "x-flowla-api-key: YOUR_API_KEY"
Create pages
POST /api/v2/pages
Create one or more pages in a single request.
The section to add pages to.
Array of page objects.
Display title of the page.
access
"visible" | "restricted" | "locked" | "hidden"
Visibility setting. Defaults to visible.
{
"sectionId": "<section_id>",
"pages": [
{ "title": "Plans", "access": "visible" },
{ "title": "FAQ", "access": "visible" }
]
}
curl -X POST https://api.flowla.com/api/v2/pages \
-H "x-flowla-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"sectionId": "<section_id>",
"pages": [
{ "title": "Plans", "access": "visible" },
{ "title": "FAQ", "access": "visible" }
]
}'
Update a page
PATCH /api/v2/pages/{page_id}
access
"visible" | "restricted" | "locked" | "hidden"
New access level.
{ "title": "Questions & Answers", "access": "visible" }
curl -X PATCH https://api.flowla.com/api/v2/pages/<page_id> \
-H "x-flowla-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"title": "Questions & Answers"}'
Delete a page
DELETE /api/v2/pages/{page_id}
Deletes the page and all its groups and blocks permanently.
curl -X DELETE https://api.flowla.com/api/v2/pages/<page_id> \
-H "x-flowla-api-key: YOUR_API_KEY"