Skip to main content
GET
/
api
/
v1
/
pages
/
:id.json
Get Page
curl --request GET \
  --url https://api.launchmystore.io/api/v1/pages/:id.json \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "<string>",
    "title": "<string>",
    "handle": "<string>",
    "body_html": "<string>",
    "author": "<string>",
    "published": true,
    "published_at": "<string>",
    "template_suffix": "<string>",
    "seo": {},
    "metafields": [
      {}
    ],
    "created_at": "<string>",
    "updated_at": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.launchmystore.io/llms.txt

Use this file to discover all available pages before exploring further.

Get Page

Returns a single page by its ID.

Request

curl -X GET "https://api.launchmystore.io/api/v1/pages/page_abc123.json" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"

Path Parameters

id
string
required
The unique page ID

Query Parameters

include_metafields
boolean
default:"false"
Include page metafields in response

Response

success
boolean
Whether the request succeeded
data
object
Page object

Example Response

{
  "success": true,
  "data": {
    "id": "page_abc123",
    "title": "About Us",
    "handle": "about-us",
    "body_html": "<h2>Our Story</h2><p>Welcome to our store. We've been passionate about quality products since 2010...</p><h2>Our Mission</h2><p>We believe in sustainable, ethical commerce...</p>",
    "author": "Store Admin",
    "published": true,
    "published_at": "2024-01-01T10:00:00Z",
    "template_suffix": null,
    "seo": {
      "title": "About Us | MyStore",
      "description": "Learn about our story, mission, and commitment to quality."
    },
    "created_at": "2024-01-01T10:00:00Z",
    "updated_at": "2024-02-15T14:30:00Z"
  }
}

Error Codes

CodeDescription
UNAUTHORIZEDInvalid or missing access token
FORBIDDENApp doesn’t have read_content scope
NOT_FOUNDPage with the specified ID does not exist