Skip to main content
POST
Update Notifications
Use this API to update notifications.

Endpoint

POST https://api.velt.dev/v2/notifications/update

Headers

x-velt-api-key
string
required
Your API key.
x-velt-auth-token
string
required

Body

Params

data
object
required

Example Requests

1. Update by organizationId and documentId

2. Update by organizationId, documentId and locationId

3. Update by organizationId, documentId and userId

4. Update by organizationId and userId

5. Update by organizationId, documentId, locationId and userId

6. Update with Permission Verification

When verifyUserPermissions is enabled, the API checks document access for each user before updating their notifications. Updates are only applied to users with access to the document.

Response

Success Response

When some notifications are not found

Failure Response