Download OpenAPI specification:Download
Notification Hub API for Konnect.
List available notifications.
| page[before] | string Example: page[before]=ewogICJpZCI6ICJoZWxsbyB3b3JsZCIKfQ Request the next page of data, starting with the item before this parameter. |
| page[after] | string Example: page[after]=ewogICJpZCI6ICJoZWxsbyB3b3JsZCIKfQ Request the next page of data, starting with the item after this parameter. |
object (NotificationFilterParameters) Filters a collection of notifications. |
{- "data": [
- {
- "id": "93f8380e-7798-4566-99e3-2edf2b57d289",
- "title": "Unpaid invoice reminder",
- "description": "Reminder for an unpaid invoice.",
- "status": "UNREAD",
- "region": "US",
- "namespace": "plan-and-usage",
- "entity_id": "invoice-1",
- "details": {
- "entity_id": "invoice-1",
- "entity_type": "invoice"
}, - "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}, - {
- "id": "93f8380e-7798-4566-99e3-2edf2b57d290",
- "title": "Unpaid invoice reminder",
- "description": "Reminder for an unpaid invoice.",
- "status": "UNREAD",
- "region": "EU",
- "namespace": "plan-and-usage",
- "entity_id": "invoice-2",
- "details": {
- "entity_id": "invoice-2",
- "entity_type": "invoice"
}, - "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}
], - "meta": {
- "next": "",
- "previous": "",
- "size": 10
}
}Get notification details.
| notificationId required | string ID of the notification. |
{- "id": "93f8380e-7798-4566-99e3-2edf2b57d290",
- "title": "Unpaid invoice reminder",
- "description": "Reminder for an unpaid invoice.",
- "status": "UNREAD",
- "region": "EU",
- "namespace": "plan-and-usage",
- "entity_id": "invoice-1",
- "details": {
- "entity_id": "invoice-1",
- "entity_type": "invoice",
- "regions": [
- "EU"
]
}, - "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Update notification.
| notificationId required | string ID of the notification. |
Request body schema for updating notification status.
| status required | string (NotificationStatus) Enum: "READ" "UNREAD" "ARCHIVED" Status of the notification. |
{- "status": "READ"
}{- "id": "93f8380e-7798-4566-99e3-2edf2b57d290",
- "title": "Unpaid invoice reminder",
- "description": "Reminder for an unpaid invoice.",
- "status": "UNREAD",
- "region": "EU",
- "namespace": "plan-and-usage",
- "entity_id": "invoice-1",
- "details": {
- "entity_id": "invoice-1",
- "entity_type": "invoice",
- "regions": [
- "EU"
]
}, - "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Delete notification.
| notificationId required | string ID of the notification. |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}Mark a list of notifications to a status.
Request body schema for bulk status update.
| ids required | Array of strings [ 1 .. 100 ] items unique |
| status required | string (NotificationStatus) Enum: "READ" "UNREAD" "ARCHIVED" Status of the notification. |
{- "ids": [
- "93f8380e-7798-4566-99e3-2edf2b57d289",
- "93f8380e-7798-4566-99e3-2edf2b57d290"
], - "status": "READ"
}{- "status": 0,
- "title": "string",
- "type": "string",
- "instance": "string",
- "detail": "string",
- "invalid_parameters": [
- {
- "field": "name",
- "rule": "required",
- "source": "body",
- "reason": "is a required field"
}
]
}List available user configurations.
object (ConfigurationFilterParameters) Filters a collection of configurations. |
{- "data": [
- {
- "event_id": "billing.invoice.unpaid-reminder",
- "event_title": "Unpaid invoice reminder",
- "event_description": "Reminder for an unpaid invoice",
- "event_namespace": "plan-and-usage",
- "event_subscription_count": 2,
- "default_subscription": [
- {
- "channel": "IN_APP",
- "enabled": true
}, - {
- "channel": "EMAIL",
- "enabled": true
}
]
}
]
}List event subscriptions.
| eventId required | string Example: invoice-ready Formatted string ID of the notification event. |
{- "data": [
- {
- "id": "93f8380e-7798-4566-99e3-2edf2b57d291",
- "regions": [
- "US",
- "EU"
], - "entities": [
- "invoice-1",
- "invoice-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"
}, - {
- "id": "93f8380e-7798-4566-99e3-2edf2b57d292",
- "regions": [
- "*"
], - "entities": [
- "*"
], - "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"
}
], - "meta": {
- "next": "",
- "previous": "",
- "size": 10
}
}Create a new subscription for an event.
| eventId required | string Example: invoice-ready Formatted string ID of the notification event. |
Request body schema for creating/updating event subscription.
| regions required | Array of strings (NotificationRegion) Items Enum: "US" "EU" "AU" "*" |
| entities required | Array of strings |
required | Array of objects (NotificationChannel) |
| enabled required | boolean Enable/Disable complete subscription within an event. |
{- "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"
}{- "id": "93f8380e-7798-4566-99e3-2edf2b57d292",
- "regions": [
- "*"
], - "entities": [
- "*"
], - "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"
}Get subscription for an event.
| eventId required | string Example: invoice-ready Formatted string ID of the notification event. |
| subscriptionId required | string Subscription ID of the user configuration. |
{- "id": "93f8380e-7798-4566-99e3-2edf2b57d292",
- "regions": [
- "*"
], - "entities": [
- "*"
], - "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"
}Update subscription for an event.
| eventId required | string Example: invoice-ready Formatted string ID of the notification event. |
| subscriptionId required | string Subscription ID of the user configuration. |
Request body schema for creating/updating event subscription.
| regions required | Array of strings (NotificationRegion) Items Enum: "US" "EU" "AU" "*" |
| entities required | Array of strings |
required | Array of objects (NotificationChannel) |
| enabled required | boolean Enable/Disable complete subscription within an event. |
{- "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"
}{- "id": "93f8380e-7798-4566-99e3-2edf2b57d292",
- "regions": [
- "*"
], - "entities": [
- "*"
], - "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"
}Delete subscription associated with event.
| eventId required | string Example: invoice-ready Formatted string ID of the notification event. |
| subscriptionId required | string Subscription ID of the user configuration. |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}