Mark a list of notifications to a status

Mark a list of notifications to a status.

post
https://global.api.konghq.com/v1/notifications/inbox/bulk

Body

application/json

Request body schema for bulk status update.

BulkPayload

Request body schema for bulk status update.

idsarray[string]requiredunique-items

>= 1 items<= 100 items

statusstringrequired

Status of the notification.

Allowed values:READUNREADARCHIVED

Response

No Content

post/notifications/inbox/bulk

Body

{ "ids": [ "93f8380e-7798-4566-99e3-2edf2b57d289", "93f8380e-7798-4566-99e3-2edf2b57d290" ], "status": "READ" }
 

List available user configurations

List available user configurations.

get
https://global.api.konghq.com/v1/notifications/configurations

Query Parameters

filterobject

Filters a collection of configurations.

* Additional properties are NOT allowed.
Show Child Parameters

Response

application/json

A paginated list response for all notification events and user subscriptions.

* Additional properties are NOT allowed.
dataarray[object]required

Properties of an event.

Show Child Parameters
get/notifications/configurations
 
application/json

List event subscriptions

List event subscriptions.

get
https://global.api.konghq.com/v1/notifications/configurations/{eventId}/subscriptions

Path Parameters

eventIdstringrequired

Formatted string ID of the notification event.

Example:invoice-ready

Response

application/json

A paginated list response for all subscriptions associated with an event.

* Additional properties are NOT allowed.
dataarray[object]required

Properties associated with an event subscription.

Show Child Parameters
metaAny Of
required
CursorMetaobject

Pagination metadata.

Show Child Parameters
get/notifications/configurations/{eventId}/subscriptions
 
application/json

Create a new subscription for an event

Create a new subscription for an event.

post
https://global.api.konghq.com/v1/notifications/configurations/{eventId}/subscriptions

Path Parameters

eventIdstringrequired

Formatted string ID of the notification event.

Example:invoice-ready

Body

application/json

Request body schema for creating/updating event subscription.

EventSubscription

Properties associated with an event subscription.

regionsarray[string]required

Region associated to a notification.

Allowed values:USEUAUMEIN*

entitiesarray[string]required

ID of the entity. Use ‘*’ to represent all entities of this type.

channelsarray[object]required

Channel subscription details for an event.

Show Child Parameters
enabledbooleanrequired

Enable/Disable complete subscription within an event.

namestringrequired

User provided name of the subscription.

Response

application/json

Response containing specific subscription details associated with an event.

EventSubscriptionResponse

Properties associated with an event subscription.

idstring(uuid)requiredread-only

Contains a unique identifier used for this resource.

Example:5f9fd312-a987-4628-b4c5-bb4f4fddd5f7

entity_typestringrequired

Allowed values:billing-invoiceaccess-tokenwebhookdev-portaldataplane-groupdataplanekai-enablemententerprise-trial

created_atstring(date-time)requiredread-only

An ISO-8601 timestamp representation of entity creation date.

Example:2022-11-04T20:10:06.927Z

updated_atstring(date-time)requiredread-only

An ISO-8601 timestamp representation of entity update date.

Example:2022-11-04T20:10:06.927Z

regionsarray[string]required

Region associated to a notification.

Allowed values:USEUAUMEIN*

entitiesarray[string]required

ID of the entity. Use ‘*’ to represent all entities of this type.

channelsarray[object]required

Channel subscription details for an event.

Show Child Parameters
enabledbooleanrequired

Enable/Disable complete subscription within an event.

namestringrequired

User provided name of the subscription.

post/notifications/configurations/{eventId}/subscriptions

Body

{ "name": "Control Plane Global", "regions": [ "US", "EU" ], "entities": [ "control-plane-1", "control-plane-2" ], "channels": [ { "type": "IN_APP", "enabled": true }, { "type": "EMAIL", "enabled": true } ], "enabled": true, "created_at": "2023-01-01T00:00:00.000Z", "updated_at": "2023-01-01T00:00:00.000Z" }
 
application/json

Get subscription for an event

Get subscription for an event.

get
https://global.api.konghq.com/v1/notifications/configurations/{eventId}/subscriptions/{subscriptionId}

Path Parameters

eventIdstringrequired

Formatted string ID of the notification event.

Example:invoice-ready

subscriptionIdstringrequired

Subscription ID of the user configuration.

Response

application/json

Response containing specific subscription details associated with an event.

EventSubscriptionResponse

Properties associated with an event subscription.

idstring(uuid)requiredread-only

Contains a unique identifier used for this resource.

Example:5f9fd312-a987-4628-b4c5-bb4f4fddd5f7

entity_typestringrequired

Allowed values:billing-invoiceaccess-tokenwebhookdev-portaldataplane-groupdataplanekai-enablemententerprise-trial

created_atstring(date-time)requiredread-only

An ISO-8601 timestamp representation of entity creation date.

Example:2022-11-04T20:10:06.927Z

updated_atstring(date-time)requiredread-only

An ISO-8601 timestamp representation of entity update date.

Example:2022-11-04T20:10:06.927Z

regionsarray[string]required

Region associated to a notification.

Allowed values:USEUAUMEIN*

entitiesarray[string]required

ID of the entity. Use ‘*’ to represent all entities of this type.

channelsarray[object]required

Channel subscription details for an event.

Show Child Parameters
enabledbooleanrequired

Enable/Disable complete subscription within an event.

namestringrequired

User provided name of the subscription.

get/notifications/configurations/{eventId}/subscriptions/{subscriptionId}
 
application/json