GET
/
cms
/
pages
/
{pageSlug}
Page
curl --request GET \
  --url https://api.marzipan.co/v1/cms/pages/{pageSlug} \
  --header 'Authorization: Bearer <token>'
{
  "slug": "about-us",
  "name": "About Us",
  "content": "<h1>About Our Wine Collection</h1><p>We are passionate about bringing you the finest wines from around the world. Our carefully curated selection includes premium vintages and exclusive discoveries that you won't find anywhere else.</p><p>Founded in 2020, our mission is to make exceptional wines accessible through our subscription service and expert recommendations.</p>",
  "seo": {
    "title": "About Our Wine Collection - Premium Wines & Subscriptions",
    "description": "Learn about our carefully curated wine selection and subscription services. Discover premium vintages and exclusive wines delivered to your door.",
    "ogImage": "https://marzipan-cloud-dev.b-cdn.net/1/ea9f0c5b-e517-4e24-99a1-90d40dcb1c79.jpg"
  },
  "status": "published",
  "fields": {
    "hero_image": "https://marzipan-cloud-dev.b-cdn.net/1/3bc26391-8cc1-4d20-a636-1c2ec55ef10d.jpg",
    "team_photo": "https://marzipan-cloud-dev.b-cdn.net/1/0736c529-a33d-4b8c-8126-eb69779dcdad.jpg"
  },
  "createdAt": "2024-01-15T10:30:00.000000Z",
  "updatedAt": "2024-02-01T14:20:00.000000Z",
  "publishedAt": "2024-01-15T10:30:00.000000Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your API token.

Path Parameters

pageSlug
string
required

The unique slug identifier for the page

Response

200
application/json

CMS page details

The response is of type object.