GET
/
cms
/
pages
Pages
curl --request GET \
  --url https://api.marzipan.co/v1/cms/pages \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "slug": "about-us",
      "name": "About Us",
      "metaTitle": "About Our Wine Collection",
      "metaDescription": "Learn about our carefully curated wine selection and subscription services",
      "status": "published",
      "createdAt": "2024-01-15T10:30:00.000000Z",
      "updatedAt": "2024-02-01T14:20:00.000000Z",
      "publishedAt": "2024-01-15T10:30:00.000000Z"
    },
    {
      "slug": "wine-guide",
      "name": "Wine Guide",
      "metaTitle": "Complete Wine Tasting Guide",
      "metaDescription": "Your comprehensive guide to wine tasting, pairing, and appreciation",
      "status": "published",
      "createdAt": "2024-01-20T09:00:00.000000Z",
      "updatedAt": "2024-01-25T16:45:00.000000Z",
      "publishedAt": "2024-01-20T09:00:00.000000Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Response

200 - application/json

Success

The response is of type object[].