Skip to main content

Endpoints

MethodPathDescription
GET/api/v2/pages?sectionId={section_id}List pages in a section
POST/api/v2/pagesCreate pages
PATCH/api/v2/pages/{page_id}Update a page
DELETE/api/v2/pages/{page_id}Delete a page and its content

Access levels

ValueBehaviour
visibleShown to everyone
restrictedRequires password or sign-in
lockedVisible but not accessible
hiddenNot 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.
sectionId
string
required
The section to add pages to.
pages
array
required
Array of page objects.
Example
{
  "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}
title
string
New display title.
access
"visible" | "restricted" | "locked" | "hidden"
New access level.
Example
{ "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"