Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Kong Event Gateway Listener Policies API

Policies control how Kafka protocol traffic is modified between the client and the backend cluster.Listener policies are routing policies that pass traffic to the virtual cluster.

Kong Event Gateway Listener Policies API is one of 139 APIs that Kong publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 1 JSON Schema definition.

Tagged areas include Event Gateway Listener Policies. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, a GitHub repository, an API reference, authentication docs, and 1 JSON Schema.

This API exposes 9 operations across 4 paths, and defines 42 schemas. It is described by OpenAPI 3.1.0, at version 3.14.0.

Requests are made against a single base URL, {protocol}://{hostname}:{port}{path}.

9 operations 4 paths 42 schemas 1 DELETE3 GET1 PATCH2 POST2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
3.14.0
Base URL
https://konghq.com/
Authentication
API Key
Contact
License
Resource Areas
1

Authentication & Security 1

Kong Event Gateway Listener Policies API declares 1 security scheme for authenticating requests. An API key is passed in the header as Kong-Admin-Token (adminToken). By default, every request must be authenticated.

Paths & Operations 9

Across 4 paths, the API surfaces 9 operations — 1 DELETE, 3 GET, 1 PATCH, 2 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

Event Gateway Listener Policies 9

Policies control how Kafka protocol traffic is modified between the client and the backend cluster. Listener policies are routing policies that pass traffic to the virtual cluster.

GET
/v1/event-gateways/{gatewayId}/listeners/{eventGatewayListenerId}/policies
List Policies for Listener
list-event-gateway-listener-policies 3 params → 200401403
POST
/v1/event-gateways/{gatewayId}/listeners/{eventGatewayListenerId}/policies
Create Policy for Listener
create-event-gateway-listener-policy 4 params body → 201400401403
GET
/v1/event-gateways/{gatewayId}/listeners/{eventGatewayListenerId}/policies/{policyId}
Get a Policy for Listener
get-event-gateway-listener-policy 3 params → 200401403404
PUT
/v1/event-gateways/{gatewayId}/listeners/{eventGatewayListenerId}/policies/{policyId}
Update Policy for Listener
update-event-gateway-listener-policy 3 params body → 200400401403
PATCH
/v1/event-gateways/{gatewayId}/listeners/{eventGatewayListenerId}/policies/{policyId}
Partially Update Policy for Listener
patch-event-gateway-listener-policy 3 params body → 200400401403
DELETE
/v1/event-gateways/{gatewayId}/listeners/{eventGatewayListenerId}/policies/{policyId}
Delete Policy for Listener
delete-event-gateway-listener-policy 3 params → 204401403404
POST
/v1/event-gateways/{gatewayId}/listeners/{eventGatewayListenerId}/policies/{policyId}/move
Move Policy
move-event-gateway-listener-policy 3 params body → 204400401403
GET
/v1/event-gateways/{gatewayId}/listeners/{eventGatewayListenerId}/policy-chain
Get Policy Chain for Listener
get-event-gateway-listener-policy-chain 2 params → 200401403
PUT
/v1/event-gateways/{gatewayId}/listeners/{eventGatewayListenerId}/policy-chain
Update Policy Chain for Listener
update-event-gateway-listener-policy-chain 2 params body → 200400401403

Schemas 42

The contract defines 42 schemas that model the data the API accepts and returns. The most detailed are EventGatewayListenerPolicy (10 properties), ForwardToVirtualClusterPolicy (6 properties), EventGatewayTLSListenerPolicy (6 properties), EventGatewayTLSListenerSensitiveDataAwarePolicy (6 properties). Each schema is shown below with its type and property counts.

InvalidParameterMinimumLength
object
5 properties 4 required
EventGatewayListenerPolicyPatch
object
The schema of the policy to patch it.
4 properties
ForwardToClusterBySNIConfig
object
The configuration to forward requests to virtual clusters configured with SNI routing.
4 properties 1 required
TLSCertificate
object
A TLS certificate and its associated private key.
2 properties 2 required
TLSTrustBundleReferenceByName
object
1 property 1 required
TLSTrustBundleReferenceById
object
1 property 1 required
UpdatedAt
string
An ISO-8601 timestamp representation of entity update date.
EventGatewayListenerPolicyUpdate
The typed schema of the listener policy to modify it.
InvalidParameterChoiceItem
object
5 properties 4 required
InvalidParameterMaximumLength
object
5 properties 4 required
EventGatewayTLSListenerPolicy
object
The TLS Server policy defines the certificates and keys used by the gateway server when the client connects to the gateway over TLS. While it is possible to ha…
6 properties 2 required
VirtualClusterReferenceById
object
Reference a virtual cluster by its unique identifier.
1 property 1 required
GatewaySecretReferenceOrLiteral
string
A literal value or a reference to an existing secret as a template string expression. The value is stored and returned by the API as-is, not treated as sensiti…
Labels
object
Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Keys must be of length 1-63 characters,…
ForbiddenError
UnauthorizedError
TLSTrustBundleName
string
The unique name of the TLS trust bundle.
EventGatewayListenerPolicyCreate
The typed schema of the listener policy to modify it.
ForwardToVirtualClusterPolicy
object
Forwards requests to virtual clusters configured with port routing or SNI routing. While there can be multiple of these policies configured on a listener, ther…
6 properties 2 required
EventGatewayListenerPolicy
object
A policy associated with an Event Gateway.
10 properties 5 required
EventGatewayTLSListenerSensitiveDataAwarePolicy
object
The TLS Server policy defines the certificates and keys used by the gateway server when the client connects to the gateway over TLS. While it is possible to ha…
6 properties 2 required
EventGatewayPolicyReference
string
The unique identifier of the policy.
StringFieldContainsFilter
object
Filters on the given string field value by fuzzy match.
1 property 1 required
CreatedAt
string
An ISO-8601 timestamp representation of entity creation date.
BaseError
object
standard error
5 properties 4 required
InvalidParameterDependentItem
object
5 properties 4 required
TLSTrustBundleReference
A reference to a TLS trust bundle resource. Either id or name must be provided. Following changes to the trust bundle name won't affect the reference, as the s…
VirtualClusterReference
A reference to a virtual cluster.
InvalidRules
string
invalid parameters rules
EventGatewayTLSListenerPolicyConfig
object
4 properties 1 required
InvalidParameters
array
invalid parameters
BadRequestError
TLSCertificateSensitiveDataAware
object
A TLS certificate and its associated private key.
2 properties 1 required
TLSVersionRange
object
A range of TLS versions.
2 properties
EventGatewayTLSListenerPolicyConfigSensitiveDataAware
object
4 properties 1 required
InvalidParameterStandard
object
4 properties 2 required
VirtualClusterReferenceByName
object
Reference a virtual cluster by its unique name.
1 property 1 required
GatewaySecret
string
A sensitive value containing the secret or a reference to a secret as a template string expression. If the value is provided as plain text, it is encrypted at…
ForwardToClusterByPortMappingConfig
object
The configuration to forward request to destination and rewrite ports accordingly. All broker ids must fit in the range of ports defined in the listener, if it…
5 properties 3 required
VirtualClusterName
string
The name of the virtual cluster.
MoveEventGatewayPolicy
object
Defines the position of a policy relative to the policy chain.
1 property 1 required
NotFoundError

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

kong-event-gateway-listener-policies-api-openapi.yml Raw ↑

Other APIs Kong publishes across the network.

Kong Gateway
Kong AI Gateway
Kong Agent Gateway
Kong MCP Registry
Kong Context Mesh
Kong Mesh
Kong Insomnia
Kong ACLs API
Kong Add-Ons API
Kong API API
Kong API Attributes API
Kong API Documentation API