---
title: "Create Navigation configuration"
method: POST
path: "/v3/portals/{portalId}/customization/navigations"
tags: ["Portal Navigation"]
---

# Create Navigation configuration

`POST /v3/portals/{portalId}/customization/navigations`

## Request

- Base URL: `https://global.api.konghq.com`
- URL: `https://global.api.konghq.com/v3/portals/{portalId}/customization/navigations`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

Creates a sidebar navigation configuration for this portal. A navigation claims every page under its `show_on_path_prefixes`, and the longest matching entry wins when more than one navigation is configured.

## Path parameters

- `portalId` string, uuid, required

## Request body

- CreatePortalNavigationRequest: Create a sidebar navigation configuration for a portal.
  - `show_on_path_prefixes` NavigationShowOnPathPrefix[], required: Route prefixes this navigation claims. The longest matching prefix across all of a portal's navigations wins.
  - `name` string, required: Names the navigation in the Konnect UI. Must be unique per portal.
  - `groups` NavigationLinkGroup[], required
    - `header` string: Heading text displayed above the group's links. Omit it for an unlabeled group.
    - `links` NavigationLink[], required
      - `text` string, required: The link label.
      - `href` string, required: The link target: a portal path (`/guides`), an anchor (`/getting-started#section`), a query (`?tab=1`), or a full `https://` URL.
      - `visibility` 'public' | 'private', required: Who sees the link. `public` for every visitor, `private` for signed-in developers only.
      - `external` boolean: When true, the link opens in a new tab.
      - `expanded` boolean: When true, the link's children start expanded.
      - `children` NavigationLink[]: Nested links, up to three levels total, including this link.

## Response `201`

Details about a sidebar navigation configuration for a portal.

- PortalNavigationResponse: Details about a sidebar navigation configuration for a portal.
  - `show_on_path_prefixes` NavigationShowOnPathPrefix[], required: Route prefixes this navigation claims. The longest matching prefix across all of a portal's navigations wins.
  - `name` string, required: Names the navigation in the Konnect UI. Must be unique per portal.
  - `groups` NavigationLinkGroup[], required
    - `header` string: Heading text displayed above the group's links. Omit it for an unlabeled group.
    - `links` NavigationLink[], required
      - `text` string, required: The link label.
      - `href` string, required: The link target: a portal path (`/guides`), an anchor (`/getting-started#section`), a query (`?tab=1`), or a full `https://` URL.
      - `visibility` 'public' | 'private', required: Who sees the link. `public` for every visitor, `private` for signed-in developers only.
      - `external` boolean: When true, the link opens in a new tab.
      - `expanded` boolean: When true, the link's children start expanded.
      - `children` NavigationLink[]: Nested links, up to three levels total, including this link.
  - `id` string, uuid, required: Contains a unique identifier used for this resource.
  - `created_at` string, date-time, required: An ISO-8601 timestamp representation of entity creation date.
  - `updated_at` string, date-time, required: An ISO-8601 timestamp representation of entity update date.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

## Changes

- **2026-11-16** `a209c8bfa7b7`: 1 info
  - endpoint added
- **2026-11-12** `d8bd04cfbaf7`: 1 breaking
  - api path removed without deprecation
- **2026-11-05** `ff8439091e5f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/konnect-api-go-sdk/changes/v3/portals/:portalId/customization/navigations/post.md)

---

[API](https://skmtc.dev/kong/apis/konnect-api-go-sdk.md) - [All operations](https://skmtc.dev/kong/apis/konnect-api-go-sdk/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4?raw)
