On Consent Submitted

View as Markdown
Triggered when the user explicitly accepts the consent terms and legal documents within the widget. If an `aes_key` was provided during [Create Session](api:POST/es-public-administration/v1/manager/init), the consent metadata inside the `data` payload will be delivered encrypted in `aes::Base64(IV + Ciphertext + Tag)` format. <Card title="Encrypted Payload" icon="fa-solid fa-key" href="/payload-encryption"> If you configured an `aes_key`, this payload is encrypted. View step-by-step decryption walkthrough and code templates in the **Payload Encryption** guide. </Card> If no `aes_key` was specified, the `data` payload is omitted (null).