Перейти к основному содержанию
POST
Create a notification

Тело

application/json
recipients
string[]
обязательно

List of user IDs to receive the notification

scope
enum<string>
обязательно

Type of the notification

Доступные опции:
SYSTEM,
USER,
GROUP
Пример:

"USER"

type
enum<string>
обязательно

Type of the notification

Доступные опции:
WORKSPACE_CREATED,
VULNERABILITY_ANALYSIS_COMPLETED,
ASSET_NEW_DETECT,
NEW_VULNERABILITY_FOUND
metadata
object

Metadata for the notification content (variables for translation)

Пример:

Ответ

200 - application/json

The response is of type object.