Contents

Consent Control Privacy Management

Introduction

Consent Control is a privacy management Application Suite with API support that manages consumer opt-outs, integrates with many of the leading third party privacy agencies (who we have already vetted), and offers significant benefits by ensuring compliance with data protection regulations and enhancing consumer trust. By automating the opt-out process, Consent Control reduces administrative burdens, costs of human labor to manage, and minimizes the risk of error. The API provides a seamless, user-friendly experience integration to our secured cloud to capture and manage all opt outs received.

Additionally, the API’s real-time updates ensure that businesses stay current with evolving privacy laws, avoiding costly fines and reputational damage.

Daily, weekly or monthly suppression files are then returned to the customer. Optional available uploads are industry wide opt outs from other data providers who also have integrated to Consent Control (requires a data sharing agreement).

API Syntax and Usage

All requests are performed via API POST action and require certain elements to be present in the JSON body based on which elements are presented. The ENDPOINT will allow for saving of Source\Client IP address and Referrer URL (if the functionality is contained within a white labeled page or iFrame).

ItemDescriptionExample
API EndpointURL of requesthttps://{hostname}.digitalsegment.com/RestServices/OptOut/Upload
API Key (required header)Generated for use within your accountKey = "api-key", Value="abc345kk8sdfsdf"
JSON Body elementsPassthrough Elements"projectid" - used in tracking a specific campaign or process for easier record identification.

Example URL:
https://{host}.digitalsegment.com/RestServices/OptOut/Upload

				
					Sample JSON Post Body

Required Header: api-key. This header is used for authentication.

				
			
				
					[
    {
        "firstname": "John",
        "lastname": "Doe",
        "address1": "123 Main St",
        "address2": "APT 23",
        "city": "Sarasota",
        "state": "FL",
        "zip": "34323",
        "phone1": "941-867-5309",
        "phone2": "(727) 867-5309",
        "email1": "john.doe@gmail.com",
        "email2": "johndoe@gmail.com",
        "validation": "1",
        "projectid": "Test Campaign"
    },
    {
        "firstname": "John",
        "lastname": "Does",
        "address1": "128 Main St",
        "address2": "APT 28",
        "city": "Sarasota",
        "state": "FL",
        "zip": "34323",
        "phone1": "941-867-5308",
        "phone2": "(727) 867-5308",
        "email1": "john.doe8@gmail.com",
        "email2": "johndoe8@gmail.com",
        "validation": "1",
        "projectid": "Test Campaign"
    }
]
				
			

Post Body Elements

Each POST can contain up to 100 individual Opt-Out/Unsubscribe requests per transaction. All fields/elements are case sensitive. Many individual fields/elements are not required; however, when presenting certain fields/elements, many other field would be required. More details below for specific field/element pairings and definitions. 

Field/ElementDescriptionMax SizeRequired
firstnameFirst Name of the consumer45No
lastnameLast Name of the consumer45No
address1First Line Address of the consumer60No
address2Second Line of Address (APT or Suite)45No
cityCity of Address45No
stateState of Address2No
zip5 digit zipcode or zip5-zip4 of address10No
phone1Phone Number15No
phone2Phone Number15No
email1Email Adress200No
email2Email Adress200No
validationValidation Status of record. See allowed values below1Yes
projectidInternal Project reference. Can be used to delineate source of record as needed20No

API Response

Each component of the Input post is returned in a JSON formatted response with additional detail for the transaction as well as the individual record details. Sample full response below:

				
					{
    "status": true,
    "transaction_id": "ca58b0e3-94c3-4c24-a8b8-bc4fe3c4c2af",
    "successful": 1,
    "unsuccessful": 1,
    "unsuccessful_ids": [1],
    
    "results": [
        {
            "firstname": "John",
            "lastname": "Doe",
            "address1": "25100 Sandhill BLVD",
            "address2": "APT V101",
            "city": "Punta Gorda",
            "state": "FL",
            "zip": "33984",
            "phone1": "941-867-5309",
            "phone2": "(727) 867-5309",
            "email1": "john.doe@gmail.com",
            "email2": "johndoe@gmail.com",
            "validation": "1",
            "projectid": "Test Campaign1",
            "recordID": "f7612c21-3305-452b-aa68-24af569e5daa",
            "successful": true
        },
        {
            "firstname": "John",
            "lastname": "Does",
            "address1": "128 Main St",
            "address2": "APT 28",
            "city": "Sarasota",
            "state": "FL",
            "zip": "34323",
            "phone1": "941-867-5308",
            "phone2": "(727) 867-5308",
            "email1": "john.doe8@gmail.com",
            "email2": "johndoe8@gmail.com",
            "validation": "2",
            "projectid": "Test Campaign2",
            "successful": false,
            "unsuccessful_reason": "Invalid Address"
        }
    ]
}