Skip to content
Get Help

Data Subject Request API

The Branch Data Subject Request API supports you with two key components of data protection laws like the General Data Protection Regulation 2016/679 (GDPR) and the California Consumer Privacy Act (CCPA)—the right to access personal data and the right to request deletion of personal data (also known as the right to be forgotten).

Read the Data Subject Request API overview

Request access or erasure

POST/gdpr

This endpoint accesses any personal data associated with known given identities from Branch Metrics.

Parameters

  • subject_request_typeenumRequired

    The type of POST request being sent. In this case, "access".

    accesserasure
  • subject_identitiesarray of objectExpandable

Returns

Success. Returns 400, 404, and 429 on failure — see the response panel for the error shape.

Request download or status

POST/gdpr/status

Gets the current status of the request for the given request_id generated from the access or erasure POST request.

Parameters

  • request_idstring

    The UUID generated for the request made. This can be used to check the status of the request at a later time.

Returns

Success. Returns 400 and 429 on failure — see the response panel for the error shape.