Add Notifications
Notifications
Add Notifications
POST
Add Notifications
Use this API to add notifications.Documentation Index
Fetch the complete documentation index at: https://velt-v5-0-2-beta-28.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
POST https://api.velt.dev/v2/notifications/add
Headers
Your API key.
Your Auth Token.
Body
Params
Example Request
Example Request with Permission Verification
When
verifyUserPermissions is enabled, the API checks document access for each user before creating notifications. Only users with access to the document will receive notifications.Example Request with Context
When context is provided, notifications will be filtered based on the specified context fields. Users will only receive notifications that match their context permissions.
Example Request with Notification Resolver
Use this when notification content (headline, body) is stored on your own infrastructure and resolved at read time via the Notification Resolver. OmitdisplayHeadlineMessageTemplate and displayBodyMessage and set notificationSource to 'custom'.
When
isNotificationResolverUsed is true, displayHeadlineMessageTemplate and displayBodyMessage are not required. Notification content is fetched from your configured data provider at read time.
