How to send an email to multiple recipients via Sendgrid using a dynamic template?

Hi everyone ๐Ÿ‘‹,

I'm attempting to send a personalized email to multiple users in my database via the Sendgrid Email Api. I've modified the 'to_email' input to an array, but I'm encountering an error that says: "Invalid type. Expected: string, given: array."

Could anyone guide me on what adjustments I need to make to the API request to resolve this issue?

1 reply