---
title: "List all SNIs"
method: GET
path: "/v2/control-planes/{controlPlaneId}/core-entities/snis"
tags: ["SNIs"]
---

# List all SNIs

`GET /v2/control-planes/{controlPlaneId}/core-entities/snis`

## Request

- Base URL: `https://global.api.konghq.com`
- URL: `https://global.api.konghq.com/v2/control-planes/{controlPlaneId}/core-entities/snis`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

List all SNIs

## Query parameters

- `size` integer
- `offset` string
- `tags` string

## Response `200`

A successful response listing SNIs

- object
  - `data` SNI[]
    - `certificate` object, required: The id (a UUID) of the certificate with which to associate the SNI hostname. The Certificate must have a valid private key associated with it to be used by the SNI object.
      - `id` string
    - `created_at` integer, nullable: Unix epoch when the resource was created.
    - `id` string, nullable: A string representing a UUID (universally unique identifier).
    - `name` string, required: The SNI name to associate with the given certificate.
    - `tags` string[], nullable: An optional set of strings associated with the SNIs for grouping and filtering.
    - `updated_at` integer, nullable: Unix epoch when the resource was last updated.
  - `next` string: URI to the next page (may be null)
  - `offset` string: Offset is used to paginate through the API. Provide this value to the next list operation to fetch the next page

## Other responses

- `401`: Unauthorized

## Changes

- **2025-08-22** `3c0154b2053a`: 1 breaking
  - the response property `data` became nullable for the status `200`
- **2025-08-14** `6333a0d3b095`: 1 breaking
  - the response property `data/items/certificate` became nullable for the status `200`
- **2025-07-22** `76b0fefddb0d`: 1 breaking
  - the response property `data/items/tags` became nullable for the status `200`

[Operation history](https://skmtc.dev/kong/apis/konnect-api-go-sdk/changes/v2/control-planes/:controlPlaneId/core-entities/snis/get.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/7aab863a6daa?raw)
