Skip to main content
POST
/
notifications
/
add
Add Notifications
curl --request POST \
  --url https://api.velt.dev/v2/notifications/add \
  --header 'Content-Type: application/json' \
  --header 'x-velt-api-key: <api-key>' \
  --header 'x-velt-auth-token: <api-key>' \
  --data '{
  "data": {
    "organizationId": "<string>",
    "documentId": "<string>",
    "actionUser": {
      "userId": "yourUserId",
      "name": "User Name",
      "email": "user@email.com"
    },
    "verifyUserPermissions": false,
    "notificationId": "<string>",
    "displayHeadlineMessageTemplate": "<string>",
    "displayHeadlineMessageTemplateData": {},
    "displayBodyMessage": "<string>",
    "notifyUsers": [
      {
        "userId": "yourUserId",
        "name": "User Name",
        "email": "user@email.com"
      }
    ],
    "notifyAll": true,
    "notificationSourceData": {}
  }
}'
{
  "result": {
    "status": "success",
    "message": "Operation completed successfully",
    "data": {}
  }
}

Authorizations

x-velt-api-key
string
header
required

Your API key from the Velt Console

x-velt-auth-token
string
header
required

Your Auth Token for authentication

Body

application/json
data
object
required

Response

Notifications added successfully

result
object