Skip to main content

Consents

Read the available consent types and manage a customer's consents, including updating account consents and the double opt-in request/confirm flow.

Endpoints

  • consenttypes

    Return the list of consent types available.

    Fields: code, description, name, defaultValue
  • updateaccountconsents

    Update the consents for an account using the consent management system.

  • requestdoubleoptin

    Create a consent with value PENDING and publish a double opt-in requested transactional messaging trigger.

    Fields: consent, consent.id, consent.code, consent.value
  • confirmdoubleoptin

    Confirm a requested consent: set the consent linked to the provided token to ACCEPTED.

    Fields: consent, consent.id, consent.code, consent.value