Types

NotificationSend

The body that sends a notification. Send `users` or `user_types`, not both.

titlerequired
string
The headline.
url
string | null
Where the notification leads, a path on the platform that starts with a single `/` (not `//`, no spaces or backslashes), else 422. Required when is_download is true.
is_download
boolean
Whether the url is a document to download rather than a page to open.Default: false
description
string | null
The body of the push notification. It is never stored and never shown in-app.
users
string (uuid)[]
The ids of the users to send to. Each must be an active user of the token organisation; users of its linked organisations are refused.
user_types
string[]
Send to every active user of the token organisation of these types (not its linked organisations): `investor` for investors, `internal` for internal users, `entrepreneur` for entrepreneurs.

Used by (1)