Get Page List

🔒

Requires read_shop_navigation access scope. More access scope

The Get Page List API retrieves a paginated list of all pages available in the store, including metadata and content.

This API is especially useful for:

  1. Fetching a list of all pages for management or display.
  2. Automating workflows that involve multiple pages.
  3. Debugging or auditing page metadata.

Request Parameters

Public Request Parameters

📘

Public Request Parameters

Query Parameters

ParameterTypeDescriptionRequiredExample
pageint32Page number (defaults to 1).No1
per_pageint32Number of items per page (defaults to 50).No50

Response Explanation

Public Response Parameters

📘

Public Response Parameters

Successful Response

FieldTypeDescriptionExample
pageint32Current page number.1
per_pageint32Number of pages returned per page.50
pages[].idintUnique ID of the page.15979
pages[].store_idintStore ID to which the page belongs.633130
pages[].titlestringTitle of the page."Test"
pages[].contentstringHTML content of the page."<p>Welcome to my page!</p>"
pages[].statusintStatus of the page (1 for active).1
pages[].created_atstringTimestamp of when the page was created."1714377813"
pages[].updated_atstringTimestamp of the last update."1714377813"
pages[].urlstringURL of the page."/pages/test1"
pages[].meta_titlestringSEO title of the page."Test"
pages[].meta_keywordstringSEO keywords for the page.""
pages[].meta_descriptionstringSEO description of the page."Welcome to my page!"
pages[].independent_seobooleanWhether SEO is managed independently.false
countint32Total number of pages.2
has_morebooleanIndicates if more pages exist.0

Error Response

Error responses in the API can be represented using two different fields: errors and error. Both fields provide details about issues encountered during request processing. Below is an explanation of the fields with their respective examples and descriptions.

FieldTypeExampleDescription
errorString "store is not active"Indicates an error encountered during the process

Error Detail

Status CodeMessagePossible ReasonExample Response
400Bad RequestInvalid input format or request structure (e.g., missing required fields or incorrect data types).Bad Request
UnauthorizedThe request is missing valid authentication credentials or the credentials provided are invalid.Unauthorized

API Structure Overview

Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!