POST
/
v1
/
events
/
trigger
curl --request POST \
  --url https://api.novu.co/v1/events/trigger \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "payload": {
    "comment_id": "string",
    "post": {
      "text": "string"
    }
  },
  "overrides": {
    "fcm": {
      "data": {
        "key": "value"
      }
    }
  },
  "to": {
    "subscriberId": "<string>",
    "email": "<string>",
    "firstName": "<string>",
    "lastName": "<string>",
    "phone": "<string>",
    "avatar": "<string>",
    "locale": "<string>",
    "data": {}
  },
  "transactionId": "<string>",
  "actor": "<string>",
  "tenant": "<string>"
}'
{
  "data": {
    "acknowledged": true,
    "status": "error",
    "error": [
      "<string>"
    ],
    "transactionId": "<string>"
  }
}

Body

application/json

Response

201
application/json

Created

The response is of type object.