We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Oct 27, 2022 5:33 AM
During our sign up process for our app we ask whether the user consents to marketing via hubspot. Via the hubspot API we can create the contact record no problem but it's not clear how to include the marketing consent value. Can this be achieved via the API or is there a different method that doesn't require a using a hubspot form?
Solved! Go to Solution.
Oct 27, 2022 5:37 AM
Hi @WHarvey,
Yes, this is possible via the subscription API endpoints: https://developers.hubspot.com/docs/api/marketing-api/subscriptions-preferences
Best regards!
Karsten Köhler |
![]() | Did my post help answer your query? Help the community by marking it as a solution. |
Oct 27, 2022 5:37 AM
Hi @WHarvey,
Yes, this is possible via the subscription API endpoints: https://developers.hubspot.com/docs/api/marketing-api/subscriptions-preferences
Best regards!
Karsten Köhler |
![]() | Did my post help answer your query? Help the community by marking it as a solution. |