---
title: "Get portal page content"
method: GET
path: "/portal-page-contents/{portalPageContentId}"
tags: ["Portal Pages"]
---

# Get portal page content

`GET /portal-page-contents/{portalPageContentId}`

## 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-page-contents/{portalPageContentId}`
- Auth: one of:
  - HTTP basic
  - API key in cookie `Auth-Graviteeio-APIM`

User must have the ENVIRONMENT_DOCUMENTATION[read] permission.

## Path parameters

- `portalPageContentId` string, required

## Response `200`

Portal page content

- PortalPageContent: Portal page content
  - `id` string, required: The unique ID of the portal page content
  - `type` 'GRAVITEE_MARKDOWN' | 'OPENAPI' | 'ASYNCAPI', required: Type of portal page content
  - `content` string, required: The content of the page
  - `configuration` union
    - PortalPageSwaggerConfiguration: OpenAPI viewer configuration for a portal page content
      - `viewer` 'SWAGGER' | 'REDOC', required: The type of viewer for OpenAPI specification. Default is 'SWAGGER'
      - `displayOperationId` boolean: Display the operationId in the operations list.
      - `docExpansion` 'list' | 'full' | 'none': Default expansion setting for the operations and tags. Possible values are: - list: Expands only the tags - full: Expands the tags and operations - none: Expands nothing. Default.
      - `enableFiltering` boolean: Add a top bar to filter content.
      - `maxDisplayedTags` integer: Number of max tagged operations displayed. Limits the number of tagged operations displayed to at most this many (negative means show all operations). No limit by default.
      - `showCommonExtensions` boolean: Display common extension fields and values for parameters.
      - `showExtensions` boolean: Display vendor extension (X-) fields and values for operations, parameters, and schema.
      - `showURL` boolean: Show the URL to download the content.
      - `tryIt` boolean: Enable "Try It!" mode in documentation page.
      - `disableSyntaxHighlight` boolean: Disable response body styling for large JSON payloads.
      - `tryItAnonymous` boolean: Enable "Try It!" mode in documentation page for anonymous users.
      - `tryItURL` string: Base URL used to try the API.
      - `usePkce` boolean: Enable use of PKCE with authorization code flows in documentation page.
      - `entrypointsAsServers` boolean: Use API entrypoints as OpenAPI servers.
      - `contextPathAsServerPath` boolean: Use API context-path as OpenAPI server URL path.
    - PortalPageRedocConfiguration: OpenAPI viewer configuration for a portal page content
      - `viewer` 'SWAGGER' | 'REDOC', required: The type of viewer for OpenAPI specification. Default is 'SWAGGER'
      - `tryItURL` string: Base URL used as OpenAPI server URL for Redoc.

## Other responses

- `default`: Generic error response

## Changes

- **2026-06-18** `ac5588bd1eb4`: 1 warning, 1 info
  - removed the optional property `configuration/oneOf[subschema #1: PortalPageSwaggerConfiguration]/allOf[subschema #2]/entrypointAsBasePath` from the response with the `200` status
  - added the optional property `configuration/oneOf[subschema #1: PortalPageSwaggerConfiguration]/allOf[subschema #2]/contextPathAsServerPath` to the response with the `200` status
- **2026-06-17** `1b5408ddf5e0`: 1 info
  - added `subschema #2` to the `configuration/oneOf[subschema #2: PortalPageRedocConfiguration]/` response property `allOf` list for the response status `200`
- **2026-06-03** `b7c655a5c24a`: 1 info
  - added the optional property `configuration` to the response with the `200` status
- **2026-05-22** `338b1b2ce119`: 1 warning
  - added the new `ASYNCAPI` enum value to the `type` response property for the response status `200`
- **2026-02-25** `0f1d9e2ef9c2`: 1 warning
  - added the new `OPENAPI` enum value to the `type` response property for the response status `200`

[Operation history](https://skmtc.dev/gravitee-io/apis/gravitee-io-apim-management-api-environments/changes/portal-page-contents/:portalPageContentId/get.md)

---

[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)
