---
title: "Get portal pages"
method: GET
path: "/portal-pages"
tags: ["Portal Pages"]
---

# Get portal pages

`GET /portal-pages`

## Request

- Base URL: `/management/v2/environments/DEFAULT` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/management/v2/environments/DEFAULT/portal-pages`
- Auth: one of:
  - HTTP basic
  - API key in cookie `Auth-Graviteeio-APIM`

User must have the ENVIRONMENT_DOCUMENTATION[read] permission.

## Query parameters

- `contextType` 'homepage', required
- `expands` string[]

## Response `200`

A list of portal pages

- object
  - `pages` PortalPageWithDetails[]: List of portal pages
    - `id` string: The unique ID of the portal page
    - `content` string: Page contents
    - `type` 'gravitee_markdown': Content type
    - `context` 'homepage': The portal context (eg. "homepage", "api_list")
    - `published` boolean: Whether the page is published or not

## Other responses

- `default`: Generic error response

---

[API](https://skmtc.dev/gravitee-io/apis/gravitee-io-apim-management-api-environments.md) - [All operations](https://skmtc.dev/gravitee-io/apis/gravitee-io-apim-management-api-environments/llms.txt) - [OpenAPI document](https://skmtc.dev/gravitee-io/apis/gravitee-io-apim-management-api-environments/revisions/b736a7e375df?raw)
