For the complete documentation index, see llms.txt. This page is also available as Markdown.

Notification Rules

Soda Cloud API Notification Rule Endpoints

List notification rules

get
/api/v1/notificationRules

This endpoint allows you to list the notification rules in your organization.

This GET is a paginated API that uses the following parameters to request specific details:

  • size: Supply an integer value between 10 and 1000, inclusive. The default value is 10.

  • page: Supply an integer value. The default value is 0.

Authentication

User authentication required: true

This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.

Tags

Notification Rules

Rate limiting

60 requests/60 seconds

Authorizations
AuthorizationstringRequired
Query parameters
pageinteger · int32Optional
sizeinteger · int32Optional
Responses
200

Successful response

application/json
firstbooleanRequired
lastbooleanRequired
numberinteger · int32Required
sizeinteger · int32Required
totalElementsinteger · int32Required
totalPagesinteger · int32Required
get/api/v1/notificationRules

Create a notification rule

post
/api/v1/notificationRules

Creates a notification rule with the provided filter and recipients.

The filter is a simplified expression tree (and/or/not/equals/contains/in) over check and monitor attributes; recipients can be users, user groups, emails, integrations, or roles.

Authentication

User authentication required: true

This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.

Authorization

Users must have global role permission MANAGE_NOTIFICATION_RULES to execute this call.

Tags

Notification Rules

Rate limiting

10 requests/60 seconds

Authorizations
AuthorizationstringRequired
Body
namestringRequired
ruleTypeobject · enumRequiredPossible values:
statusobject · enumOptionalPossible values:
Responses
200

Successful response

application/json
createdAtstring · date-timeOptional
idstringOptional
isDefaultbooleanOptional
lastTriggeredAtstring · date-timeOptional
namestringOptional
ownerIdstringOptional
ruleTypeobject · enumOptionalPossible values:
statusobject · enumOptionalPossible values:
updatedAtstring · date-timeOptional
post/api/v1/notificationRules

Update a notification rule

post
/api/v1/notificationRules/{notificationRuleId}

Updates a notification rule. This is a full replacement: the rule's name, type, filter, recipients, status, and customization are all set from the request body.

Authentication

User authentication required: true

This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.

Authorization

Users must have global role permission MANAGE_NOTIFICATION_RULES to execute this call.

Tags

Notification Rules

Rate limiting

10 requests/60 seconds

Authorizations
AuthorizationstringRequired
Path parameters
notificationRuleIdstringRequired
Body
namestringRequired
ruleTypeobject · enumRequiredPossible values:
statusobject · enumOptionalPossible values:
Responses
200

Successful response

application/json
createdAtstring · date-timeOptional
idstringOptional
isDefaultbooleanOptional
lastTriggeredAtstring · date-timeOptional
namestringOptional
ownerIdstringOptional
ruleTypeobject · enumOptionalPossible values:
statusobject · enumOptionalPossible values:
updatedAtstring · date-timeOptional
post/api/v1/notificationRules/{notificationRuleId}

Delete a notification rule

delete
/api/v1/notificationRules/{notificationRuleId}

Schedules a notification rule for deletion. Deletion is processed asynchronously.

Authentication

User authentication required: true

This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.

Authorization

Users must have global role permission MANAGE_NOTIFICATION_RULES to execute this call.

Tags

Notification Rules

Rate limiting

10 requests/60 seconds

Authorizations
AuthorizationstringRequired
Path parameters
notificationRuleIdstringRequired
Responses
200

Successful response

application/json
messagestringRequired
delete/api/v1/notificationRules/{notificationRuleId}

Last updated

Was this helpful?