Consent Data Categories

Introduction

Consent Data Categories define the specific types of personal data or personally identifiable information(PII) for which consent is being collected from the Data Principal. They help clearly identify the scope of data processing authorized by the user, ensuring transparency, purpose limitation, and regulatory compliance under the Digital Personal Data Protection Act (DPDPA), 2023. Examples may include identity information, contact details, financial data, employment records, educational information, location data, or verification documents depending on the business use case and processing purpose.

How Attestr Classifies Data Categories

Based on the services offered and the corresponding data inputs and outputs, personal information is organized into structured data categories and data types to enable standardized consent management and processing.

Data Category

A Data Category represents a logical grouping of related personal data types associated with a Data Principal.

Data Type

A Data Type refers to an individual piece of personal information within a category, such as name, mobile number, PAN, address, or bank account number.

Attestr supports the following data categories and nested data types. We'll keep updating the list as support for more data types and products are added. We recommend using the Get Data Categories API described below for the most recent published list for each of our product and for API integration purposes.

Data CategoryIncluded Data Types (PII)
personal_informationname, dob, gender, address, guardian_name, mother_name, father_name, spouse_name, marital_status, religion, nationality, social_category, specially_abled, other
identityaadhaar, voter_id, drivers_license, passport, pan, ckyc_id, icai_id, central_gov_id, state_gov_id, job_id, student_id, uan, epfo_member_id, din, other
asset_identityproperty_registration, vehicle_registration, other
business_identitybusiness_name, business_registration_number, business_taxid, director_id, other
contactphone, email, social_media_handle, other
financialbank_account, ifsc, credit_card, debit_card, upi_id, wallet_id, tax_info, income_details, revenues, itr_details, insurance_details, charge_details, other
healthmedical_history, current_medication, allergies, disabilities, mental_health, health_insurance, other
educationcourse_name, course_code, course_degree, course_grade, course_duration, institute_name, institute_address, institute_certificate, marksheet, other
employmentemployer_name, employee_id, job_title, salary_details, work_experience, work_documents, work_duration, reference_details, other
biometricfingerprint, iris_scan, facial_recognition, voice_sample, handwritten_signature, electronic_signature, photo, video, other
locationaddress, gps_data, ip_address, cell_tower_data, other
legalcourt_records, legal_cases, compliance_documents, other
usagebrowsing_history, purchase_history, app_usage, other
derivedrisk_score, predictions, reputation_score, other

Get Data Categories API

Request

TypeURLVersion
POSThttps://api.attestr.com/api/{version/public/consent/data-categoriesUse "v3" for DPDA compliant version

Request Body Parameters

TypeNameDescriptionOptional (default)Min VersionMax Version
StringtypeProvide the type. Allowed values are - kyc_verification background_verificationRequiredv3
Array<Service Object>servicesList of services for which data categories are required to be fetched. Refer Service object definition below.Requiredv3

Service Object Definition

TypeNameDescriptionOptional (default)Min VersionMax Version
StringserviceProvide the Service code. Attestr assigns a unique service code to each product and service it offers. For example, the service code for Bank Account Verification is BANK_ACC. Please refer to the relevant product documentation to identify the correct service code for the service you intend to use.Requiredv3
ObjectoptionsReserved for future use. Used for specifying service specific options which helps to decide the associated data categories.Optionalv3

Request Header Parameters

TypeNameValue / DescriptionOptionalMin VersionMax Version
StringContent-Typeapplication/jsonRequiredv3
StringAuthorizationBasic {authToken}Requiredv3

If you do not have the authentication token, please refer to Register App to generate one.

Sample Request Payload

JSON
Copy

Response

Http Status 200

API returns an array of objects. Each object includes one data category and list of associated data types. The object definition is as below.

KeyDescriptionTypeMin VersionMax Version
categoryData category for the provided serviceStringv3
valuesAssociated data types as mapped to the provided serviceArray<String>v3

Sample Response

Sample response for valid input

JSON
Copy

Error Response

ParameterTypeDescription
codeNumberUnique error codes for different errors. Always available.
httpStatusCodeStringStandard HTTP status code for the error
messageStringError message describing the error. Always Available.
detailsStringDetail error message. Available only for certain types of errors.

Error Codes

HTTP StatusError CodeError Message
4004001Malformed data or missing required parameter values
4004005Operation could not be performed due to low credits balance
4014016Invalid client authorization
4034031Unauthorized access
4034035Requested service is not provisioned for your account
4034039Client's IP address is not whitelisted
4034035Requested service is not provisioned for your account
4294291Maximum account rate limit exceeded
4294292Maximum API rate limit exceeded
4294293Maximum account daily limit exceeded
4294294Maximum API daily limit exceeded
5005001Request could not be processed

Sample Error Response

JSON
Copy

Get Free Trial

Create a free account Or “Talk to Us” for price information and other queries.

VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches