Skip to main content
POST
Create a notification

Body

application/json
recipients
string[]
required

List of user IDs to receive the notification

scope
enum<string>
required

Type of the notification

Available options:
SYSTEM,
USER,
GROUP
Example:

"USER"

type
enum<string>
required

Type of the notification

Available options:
WORKSPACE_CREATED,
VULNERABILITY_ANALYSIS_COMPLETED,
ASSET_NEW_DETECT,
NEW_VULNERABILITY_FOUND
metadata
object

Metadata for the notification content (variables for translation)

Example:

Response

200 - application/json

The response is of type object.