APIs & Integrations

ZKagan
Member

Subscribe email to multiple lists

SOLVE

Is there a way to susbcribe a email to multiple lists in one API call?

{
"emailAddress": "string",
"subscriptionId": "string",
"legalBasis": "LEGITIMATE_INTEREST_PQL",
"legalBasisExplanation": "string"
}

Is there a way to send this call with multiple values for the "subscriptionId"? 

 

Thanks. 


https://developers.hubspot.com/docs/api/marketing-api/subscriptions-preferences

 

0 Upvotes
1 Accepted solution
coldrickjack
Solution
Guide

Subscribe email to multiple lists

SOLVE

Hey @ZKagan,

 

There isn't a way to do this in a single API call unfortunately. I'm not sure of the use case but depending on what you are trying to do a way around it might be to setup a workflow that handles the logic for you. Something like this for instance:

 

Screenshot 2023-07-26 at 17.46.34.png

View solution in original post

1 Reply 1
coldrickjack
Solution
Guide

Subscribe email to multiple lists

SOLVE

Hey @ZKagan,

 

There isn't a way to do this in a single API call unfortunately. I'm not sure of the use case but depending on what you are trying to do a way around it might be to setup a workflow that handles the logic for you. Something like this for instance:

 

Screenshot 2023-07-26 at 17.46.34.png