April 14th, 2026
Improved

Hi everyone! This changelog update is to let you know that our JavaScript SDK just got a meaningful upgrade: the window.consentStudio.api.consentState SDK now lets you write the consent state directly from your own code, not just read it.
New methods include set(), acceptAll() and denyAll(), plus a hideBanner option on every write method, so you can drive consent from custom preference UIs or external flows without touching the banner's internal DOM.
A full reference of our JavaScript API can be found on https://learn.consent.studio/en/help/articles/11114257.
And a full reference of JS browser events can be found on https://learn.consent.studio/en/articles/10316000.
If thereβs anything that we can assist you with for advanced set-ups that require custom javascript on your end, do not hesitate to reach out to us by contacting support@consent.studio!