curl --location --request POST 'https://api.novu.co/v1/events/trigger' \
--header 'Authorization: ApiKey <REPLACE_WITH_API_KEY>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "user-registration",
"to": {
"subscriberId": "123456789",
"firstName": "john",
"lastName": "smith",
"data": {
"gender": "male"
}
},
"tenant": null
}'
curl --location --request POST 'https://api.novu.co/v1/events/trigger' \
--header 'Authorization: ApiKey <REPLACE_WITH_API_KEY>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "user-registration",
"to": {
"subscriberId": "123456789",
"firstName": "john",
"lastName": "smith",
"data": {
"gender": "male"
}
},
"tenant": null
}'