APIs & Integrations

ZKagan
Membro

Subscribe email to multiple lists

resolver

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 Avaliação positiva
1 Solução aceita
coldrickjack
Solução
Orientador(a)

Subscribe email to multiple lists

resolver

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

Exibir solução no post original

1 Resposta 1
coldrickjack
Solução
Orientador(a)

Subscribe email to multiple lists

resolver

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