Last updated Apr 8, 2024

ConsentHub API


ConsentHub is a system for managing user consent and subscriptions, and collecting general marketing opt-in (GMOI) consent when needed. This is a quick How-To guide for using the ConsentHub API. It describes a few common use cases for user management in ConsentHub.

Consent of the data subject means any freely given, specific, informed and unambiguous indication of the data subject's wishes by which he or she, by a statement or by a clear affirmative action, signifies agreement to the processing of personal data relating to him or her.

General Marketing Opt-In (GMOI) consent indicates whether a user opted in to use their personal information for marketing purposes such as marketing emails.


ConsentHub can be accessed via


Access to ConsentHub endpoints is granted via client API Token (Basic Authentication).

API Token

API Token value is used as a password for HTTP basic authentication.

To use API Token authorization the client needs to send HTTP requests with the Authorization header that contains the Basic prefix followed by a space and a base64-encoded string email:API Token. For example, to authorize with email and 4ojPSCFDbUtTQhjisU0A6A3A API Token value the client would send:

Authorization: Basic ZW1haWxAZXhhbXBsZS5jb206NG9qUFNDRkRiVXRUUWhqaXNVMEE2QTNB

To obtain a client API Token, go to

See more info here

To review all ConsentHub endpoints see API reference.

Common Use Cases

Rate this page: