Last updatedApr 2, 2020

Rate this page:

ConsentHub API

Introduction

ConsentHub is a system for managing user consent and subscriptions, and collecting 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.

Hosts

EnvironmentHost
Productionapi.atlassian.com
Stagingapi.stg.atlassian.com

Authorization

Access to CH 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@example.com 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

Please reach out to Scott Grieder or Josh Ellis to be added to the ConsentHub allow list. For Basic authentication, the user needs also to provide their email address.

To review all ConsentHub endpoints see API reference.

Common Use Cases

Rate this page: