Compliance

CCPA#

CCPA (California Consumer Privacy Act) grants California consumers robust data privacy rights and control over their personal information, including the right to know, the right to delete, and the right to opt-out of the sale of personal information that businesses collect, as well as additional protections for minors.

Retrieve all CCPA requests#

curl -X GET -H "Content-Type: application/json" \
-u"[your token]:" "https://ac.cnstrc.com/v1/tasks?key=[your API key]&type=user_data_request"

HTTP Request#

GET https://ac.cnstrc.com/v1/tasks?key=[your API key]&type=user_data_request

Response format#

{
"total_count": 1,
"tasks": [
{
"id": 0,
"type": "user_data_request",
"status": "QUEUED",
"submission_time": "2020-04-24T15:06:27Z",
"last_update": null,
"action": "request_report",
"user_id": "user1"
}
],
"status_counts": {
"QUEUED": 1,
"DONE": 0,
"IN_PROGRESS": 0,
"FAILED": 0
}
}

Query Parameters#

ParameterRequired?Description
keyYesThe key of the index you'd like to to retrieve tasks for.

Retrieve CCPA request by ID#

See Retrieve By Specific Task ID for more info.

Submit a CCPA request action#

curl -X POST -H "Content-Type: application/json" \
-d '{"user_id": "user1", "action": "delete", "type": "user_data_request"}' \
-u"[your token]:"
"https://ac.cnstrc.com/v1/tasks?key=[your API key]

HTTP Request#

POST https://ac.cnstrc.com/v1/tasks?key=[your API key]

Response format#

{
"id": 0,
"status": "QUEUED",
"submission_time": "2020-04-24T15:06:27Z",
"last_update": null
}

Query Parameters#

ParameterRequired?Description
keyYesThe key of the index you'd like to to retrieve tasks for.

JSON Parameters#

AttributeTypeRequired?Description
user_idstringYesThe user_id of the user you would like to request an action for.
actionstringYesrequest_report or delete to specify the action for this request.
typestringYesSpecifies the type of task. user_data_request for user data requests.