---
title: "Create a portal category"
method: POST
path: "/portal-categories"
tags: ["Portal Categories"]
---

# Create a portal category

`POST /portal-categories`

## 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-categories`
- Auth: one of:
  - HTTP basic
  - API key in cookie `Auth-Graviteeio-APIM`

User must have the ENVIRONMENT_DOCUMENTATION[create] permission.

## Request body

- CreatePortalCategory: Portal category to create
  - `title` string, required: The title of the portal category
  - `description` string: The description of the portal category
  - `visible` boolean: Whether the portal category is visible on the portal

## Response `201`

Portal category created

- PortalCategory: A Portal Next category, used to group APIs on the New Developer Portal
  - `id` string, uuid, required: The unique ID of the portal category
  - `title` string, required: The title of the portal category
  - `description` string: The description of the portal category
  - `visible` boolean: Whether the portal category is visible on the portal

## Other responses

- `409`: A portal category with the same title already exists in this environment
- `default`: Generic error response

## Changes

- **2026-08-03** `46656ed5108c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gravitee-io/apis/gravitee-io-apim-management-api-environments/changes/portal-categories/post.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)
