Send Email to Multiple Recipients using SendGrid API

I have an email form, with a multdropdown field acting as the Email to field. This is populated using a custom state list that is set from a repeating group list. When sending an email to a single recipient the email is received but when sending to multiple recipients the emails are not received. I am integrating with SendGrid using the API Connector using a POST request to https://api.sendgrid.com/v3/mail/send and the JSON is:

{
“personalizations”: [
{
“to”: [
{
“email”: “”
}
]
}
],
“from”: {
“email”: “”,
“name”: “”
},
“subject”: “”,
“content”: [
{
“type”: “text/html”,
“value”: “”
}
]
}

I suspect maybe I need to do something with the “To” value but I am not sure. In the Workflow for the Send Email button, for the (body) To value I am using:""Multidropdown Email Address’s value:each item’s Email. So this works if there is one email but not multiple. What is wrong with how I am doing this?

This topic was automatically closed after 70 days. New replies are no longer allowed.