APIs & Integrations

Jayasri
Member

How to send API emails to contact list

SOLVE

Hi! I'm trying to send emails to a contact list (a dynamic list) using any API method. Single-send looks like it only accepts one email address. SMTP could be, but I need to specify each email address, right? Or there is a way to indicate the contact list's name as the destination?

0 Upvotes
1 Accepted solution
HubDoPete
Solution
Guide | Gold Partner
Guide | Gold Partner

How to send API emails to contact list

SOLVE

Hi @Jayasri and thanks @TiphaineCuisset for the tag

 

The send email APIs handle transactional emails so not really suited to your purpose of sending to all in a list, unless you first use the API to pull the members of the list then use single send to each one.

Or, take a step back and solve this using a combination of dynamic lists and workflows.

Set a second dynamic list, and enrolment rule based on membership of the first list plus whatever you can relate to the API trigger condition.

Then let a contact-based workflow take care of the sending, based on membership in the second list.

hope that helps!

best

Pete

View solution in original post

2 Replies 2
HubDoPete
Solution
Guide | Gold Partner
Guide | Gold Partner

How to send API emails to contact list

SOLVE

Hi @Jayasri and thanks @TiphaineCuisset for the tag

 

The send email APIs handle transactional emails so not really suited to your purpose of sending to all in a list, unless you first use the API to pull the members of the list then use single send to each one.

Or, take a step back and solve this using a combination of dynamic lists and workflows.

Set a second dynamic list, and enrolment rule based on membership of the first list plus whatever you can relate to the API trigger condition.

Then let a contact-based workflow take care of the sending, based on membership in the second list.

hope that helps!

best

Pete

TiphaineCuisset
Community Manager
Community Manager

How to send API emails to contact list

SOLVE

Hi @Jayasri 

 

Thank you for reaching out.

 

I want to tag some of our experts here - @Mike_Eastwood @christopher-RVO @HubDoPete do you have any suggestions for @Jayasri on this? 

 

Thank you!

Best

Tiphaine


Saviez vous que la Communauté est disponible en français?
Rejoignez les discussions francophones en changeant votre langue dans les paramètres !

Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !


0 Upvotes