CCPA Requirements And Compliance Checklist for API Programs
Tags: api
Published: 2020-03-09 21:46:23

---
title: CCPA Requirements And Compliance Checklist for API Programs
published: true
description: 
tags: api
canonical_url: https://www.moesif.com/blog/business/compliance/CCPA-Requirements-and-Compliance-Checklist-for-API-Programs/
cover_image: https://www.moesif.com/blog/images/posts/business/compliance/CCPA-Page.png?utm_source=devto&utm_medium=blog&utm_campaign=placed%20article&utm_term=ccpa%20checklist%20for%20apis
---

> Legal Disclaimer: Nothing stated hereinabove is legal advice. It is provided for informational purposes only. You should work closely with legal and other professional advisors to determine exactly how CCPA may or may not apply to you, and what you should do to comply.

## CCPA Checklist For Requirements And Compliance

Please change the first sentence to read "California’s new privacy law came into effect on January 1, 2020. Now’s a good time to check if you need to comply. And, if you do, what should be in place to ensure smooth operation.

At its most basic level, the [California Consumer Privacy Act of 2018 (CCPA)](https://leginfo.legislature.ca.gov/faces/billTextClient.xhtml?bill_id=201720180AB375) grants rights to Californian residents on how their data is collected and used.

## CCPA ups the ante on consumer privacy

What’s unique is that this is the first statute in the United States that provides compensation for data breaches, greatly increasing the chances of class action lawsuits. [See Cooley - CCPA FAQs Part 3: Litigation, Regulatory Actions, and Liability](https://cdp.cooley.com/ccpa-faqs-part-3-litigation-regulatory-actions-and-liability/) for more info. It also widens the definition of personal information to include an expansive list of items and even _inferences_ (quasi-personally identifiable information).

> Personal information includes ... **inferences** drawn from data sources "to create a profile about a consumer reflecting the consumer’s preferences, characteristics, psychological trends, preferences, predispositions, behavior, attitudes, intelligence, abilities, and aptitudes."

Lastly, it applies to Californian residents (essentially those paying income tax in California), [_irrespective_](https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?sectionNum=17014.&lawCode=RTC "California definition of resident: §17014 of Title 18 of the California Code of Regulations") of their location when their data was collected.

Eleven other states are following California’s lead, with their own versions of data privacy laws winding through legislatures in 2020. Even if you don’t think you need to comply with CCPA today, many elements of California's law might be applicable to you in the near future.

## Need to comply?

The regulation doesn’t apply to every business and unlike GDPR, it’s an opt-out law; not opt-in.  Specifically, it’s aimed at for-profit enterprises that have information regarding Californian residents and who meet one of the following [criteria](https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=CIV&sectionNum=1798.140):

* Revenue over $25M
* Collect personal information on more than 50,000 people, households or devices
* Derive at least 50% of revenue from selling consumer information

CCPA is focused against selling or sharing personally identifiable data, which they define as “selling, renting, releasing, disclosing...personal information to a third party for monetary or other valuable consideration”

## How to comply?

Compliance is based largely on implementing privacy best practices. Generally, the requirements that need to be addressed are two-fold:

1. Informing consumers through privacy notices, terms of service, data processing agreements, policies, etc of the categories of personal information collected, disclosed, or sold, and what purpose the information is used for, and
2. Implementing protocols so that consumers can request, view and delete or otherwise limit the sharing of their information.

We recommend you seek professional advice for modifying your legal notices, although there's a [plethora](https://www.pillsburylaw.com/en/news-and-insights/ccpa-privacy-policy.html) of information online to help.

Upon receipt of a request for information, it's necessary to have the following protocols in place to honor data subject rights:

| The Rights | What's To Be Provided |
| --------------- | --- |
| Right to Disclose | The right to know what personal information a business has collected about them, where it was sourced from, what it is being used for, whether it's being disclosed or sold, and to whom it's being disclosed or sold |
| Right to Delete | The right to delete any personal information |
| Right to Opt-Out | The right to opt-out of allowing personal information to be sold to third parties |
| Right of Non-Discrimination | The right to receive equal service and pricing from a business, even if they exercise their privacy rights under the Act |

Protocols need to be completed within 45 days of receipt of verifiable requests, so automation is key.

## Failure to comply

The law stipulates that penalties can be applied in two ways:

1. For intentional violations, the civil penalty is up to $7,500 per violation, but subject to a 30-day cure period,
2. For data breaches, consumers can sue either individually or in a class action, where statutory damages range from $100 to $750 per resident per incident.

Multiply those figures across millions of consumers and damages can quickly add up.

California's Attorney General [calculated](http://www.dof.ca.gov/Forecasting/Economics/Major_Regulations/Major_Regulations_Table/documents/CCPA_Regulations-SRIA-DOF.pdf) that CCPA will cost businesses $55B, with 75% of Californian companies affected. By following privacy best practices and aligning with the rules and policies of CCPA at the outset, costs can be mitigated.

## How does CCPA effect API programs?

CCPA doesn't just stop at a consumer-facing website. As part of your API program, you're probably already collecting personally identifiable information for API logging and monitoring, user behavioral analytics, security checks, and other critical business activities. This means you need to audit your internal processes and data management to ensure they comply with CCPA (and GDPR). Luckily, CCPA already defines 7 categories of business purposes under section 1798, specifically:

1. Auditing Interactions with Consumers
2. Security
3. Debugging/Repair
4. Certain Short-term Uses
5. Performing Services
6. Internal Research for Tech Development
7. Quality and Safety Maintenance and Verification

This means, as long as you are not selling or sharing personal information in exchange for money or something of equivalent value, your risk is lower if you are only leveraging the data for one of those 7 categories, which API analytics falls under. Because even data used for legitimate business purposes can put your organization at risk, it's important to ensure you have the correct processes and infrastructure in place to handle CCPA and GDPR requests.

One way to aid this process is by tagging every single piece of data within your organization with the user who generated it. API analytics services like [Moesif](https://www.moesif.com/?utm_source=devto&utm_medium=blog&utm_campaign=placed%20article&utm_term=ccpa%20checklist%20for%20apis) already do this today to make compliance automatic to fulfill data subject requests right out-the-gate. This enables a CCPA subject request to be handled by non-technical users with just a [few clicks](https://www.moesif.com/enterprise/gdpr-compliance/?utm_source=devto&utm_medium=blog&utm_campaign=placed%20article&utm_term=ccpa%20checklist%20for%20apis) rather than overloading your internal data engineering teams with CCPA subject requests.

![Handling Data Subject Requests for API Consumers](https://www.moesif.com/blog/images/posts/business/compliance/CCPA-Page.png?utm_source=devto&utm_medium=blog&utm_campaign=placed%20article&utm_term=ccpa%20checklist%20for%20apis)

## Important procedures for APIs

### Don't allow anonymous access

Don't allow anonymous access to your API. Otherwise, you may have a hard time auditing who accessed that data to not only comply with CCPA but also to aid security review. Your API should only allow registered users to access the data which is usually done by some sort of API key or token. Each user of the API should have a primary contact person.

### Log access to personal data

As part of your API monitoring and analytics infrastructure, you should log every read and write operation
on personal data. CRUD APIs are a natural way to do this as every access must go through your API regardless of
the client (web apps, partner programs, internal consumers, etc). You should also retire or _pseudonymize_ such data after a defined period.

### Don't use excel or manually handle

Don't just store a subject request in a Google Sheet or Excel document and ask a developer to manually delete. Any data infrastructure that stores personal data should also have a clean set of APIs or UI to handle data subject requests along with a timestamped audit log when actions are completed to ensure your internal process does not slip. Audit logs should be able to stand up in court.

> _Right to Opt Out_ requests is a tricky gotcha for organizations trying to become CCPA compliant as data and engineering teams not only need to build infrastructure to access and delete a user's historical data, they also need infrastructure to prevent future data collection. Such data suppression logic has to be implemented correctly while scaling to billions of API calls a day.

Although you might not be compliant by the deadline, many others are in the same boat, by some [estimates](https://www.emarketer.com/content/very-few-us-businesses-are-ccpa-ready) up to 50%. The good news is that enforcement won't go into effect until the middle of 2020. And given California's Attorney General [recent statement](https://www.reuters.com/article/us-usa-privacy-california/california-ag-says-privacy-law-enforcement-to-be-guided-by-willingness-to-comply-idUSKBN1YE2C4), it's never too late to start.

---

This article was written by Larry Ebringer, Head of Marketing at Moesif. It was originally published on the [Moesif Blog](https://www.moesif.com/blog/business/compliance/CCPA-Requirements-and-Compliance-Checklist-for-API-Programs/?utm_source=devto&utm_medium=blog&utm_campaign=placed%20article&utm_term=ccpa%20checklist%20for%20apis).