Suger

list notification events

GET https://api.suger.cloud/org/{orgId}/notificationEvent

List the notification events of the given organization with pagination and optional filters.

Parameters

NameInTypeRequiredDescription
orgId path string yes Organization ID
startDate query string no start date (UTC) in YYYY-MM-DD format, default is 30 days before the endDate
endDate query string no end date (UTC) in YYYY-MM-DD format, default is today
limit query integer no List pagination size, default 1000, max value is 1000
offset query integer no List pagination offset, default 0
priorities query string no Filter by priorities, empty means HIGH and CRITICAL only. Valid values are: LOW, MEDIUM, HIGH, CRITICAL. Multiple values are supported, separated by comma.
message query string no Filter by event message containing the specified string, case-insensitive.

Responses

200 — OK

Content-Type: application/json · Schema: ListNotificationEventsResponse

ListNotificationEventsResponse fields:

FieldTypeRequiredDescription
nextOffset integer no If it is nil, it means there is no more records.
notificationEvents array<NotificationEvent> no
totalCount integer no Only available when the request is made with offset=0.

NotificationEvent fields:

FieldTypeRequiredDescription
action NotificationEventAction no
ccContactIds array<string> no Cc contactIds that will receive this notification
channels array<NotificationChannel> no The list of channels this event will be sent to, e.g., ["SLACK", "EMAIL"]
contactEmails array<string> no Contact emails that will receive this notification
contactIds array<string> no ContactIds that will receive this notification
createdBy LastModifiedBy no
customFields object no Custom fields of the notification event.
entityID string no
entityName string no The name of the entity.
entityStatus string no
entityType EntityType no
eventID string no notification event id.
eventStatus NotificationEventStatus no
info object no Additional info of the notification event.
isActionItem boolean no If this notification event is an action item.
lastUpdateTime string no timestamp of the event when it is updated.
message string no The message of the notification event such as email body, action item description.
organizationID string no suger organization id.
partner Partner no
priority AuditingEventPriority no
requireAudit boolean no If this notification event is an auditing event and need to store in DB.
timestamp string no timestamp of the event when it is scheduled or created.
title string no The title of the notification event such as email subject, action item title.
trackEvents array<TrackEvent> no The track events of the notification event.
version integer no Version identifies the schema version of this envelope. Consumers reject unknown versions (leave for redelivery to DLQ) so a future shape change doesn't silently poison old consumers. Missing/0 → v1 (default).

LastModifiedBy fields:

FieldTypeRequiredDescription
email string no The email of the creator.
entityId string no The ID of the creator.
entityType EntityType no
name string no The name of the creator.

TrackEvent fields:

FieldTypeRequiredDescription
action TrackEventActionType no
contactId string no The ID of the contact who triggered the track event if applicable.
timestamp string no timestamp of the track event happened.

400 — Bad request error

Content-Type: application/json

500 — Internal server error

Content-Type: application/json


View as Markdown · Interactive API reference

Spotted something wrong or out of date on this page? Tell us and we'll correct it.