ksingh
ksingh
NNovu
Created by ksingh on 11/28/2023 in #💬│support
Unable to send multi-recipients email using curl command
Hi, I am trying to send email using curl command. I am able to send email to single recipient but not able to send email to multiple recipients. I am using below command to send email to multiple recipients.
curl --location --request POST 'https://api.novu.co/v1/events/trigger' \
--header 'Authorization: ApiKey 7743223b3a9c2130eddb21ff33se3' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "scogo-link-down-notification",
"to": {
subscriberId: '65659176b4e3ba927d54432',
},
"overrides": {
"email": {
senderName: 'Novu Team'
text: 'text version of email using overrides',
replyTo: '[email protected]',
"cc": ['[email protected]'],
"bcc": ['[email protected]'],
},
},
}'
curl --location --request POST 'https://api.novu.co/v1/events/trigger' \
--header 'Authorization: ApiKey 7743223b3a9c2130eddb21ff33se3' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "scogo-link-down-notification",
"to": {
subscriberId: '65659176b4e3ba927d54432',
},
"overrides": {
"email": {
senderName: 'Novu Team'
text: 'text version of email using overrides',
replyTo: '[email protected]',
"cc": ['[email protected]'],
"bcc": ['[email protected]'],
},
},
}'
32 replies