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
- Shell
- JavaScript
- Python
- Java
- iOS
- Android
- C#
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"
// This method is not currently supported.
# This method is not currently supported.
// This method is not currently supported.
// This method is not currently supported.
// This method is not currently supported.
// This method is not currently supported.
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
Parameter | Required? | Description |
---|---|---|
key | Yes | The 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": "request_report", "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
Parameter | Required? | Description |
---|---|---|
key | Yes | The key of the index you'd like to to retrieve tasks for. |
JSON Parameters
Attribute | Type | Required? | Description |
---|---|---|---|
user_id | string | Yes | The user_id of the user you would like to request an action for. |
type | string | Yes | Specifies the type of task. user_data_request for user data requests. |
action | string | Yes | The only valid value currently is request_report . |