get customer privacy data
# Get Customer Privacy Data
Retrieves all privacy-related data associated with a customer account. This endpoint is used to fulfill data subject access requests (DSAR) and provide customers with a complete view of their stored personal information.
## Endpoint
```
GET {base_url}/api/v1/{account_id}/privacy/data
```
## Required Variables
- **base_url**: The base URL for the BotBye API
- **account_id**: Your unique account identifier
## Authentication
Requires API key authentication via the `api_key` variable.
## Response
Returns a comprehensive JSON object containing all privacy-related data for the customer, including:
- Personal information
- Account details
- Activity logs
- Associated metadata
## Use Cases
- **GDPR/CCPA Compliance**: Respond to data subject access requests
- **Data Auditing**: Review what personal data is stored
- **Customer Transparency**: Provide customers with their data upon request
- **Compliance Reporting**: Generate reports for regulatory purposes
## Example Response
The response includes structured data with customer information organized in a node-based format with edges for relationships.
Authentication
X-Api-Keystring
Project API token. Generate it in your BotBye account and send it in the X-Api-Key request header.
Path parameters
account_id
Response headers
Content-Length
Connection
Response
get customer privacy data

