Skip to navigation

get customer privacy data

View as Markdown

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.

Accepted permissions Account → Profile → Delete profile

Token scope Profile Action

Authentication

X-Api-Keystring

Personal access token. Create it in your BotBye account under Profile → Personal Access Tokens, tick the scopes the endpoints you call require (see each endpoint’s Token scope), and send the token in the X-Api-Key request header. A token works only for the account it was created in.

Path parameters

account_idstringRequired

Response headers

Content-Lengthinteger
ConnectionstringOptional

Response

get customer privacy data
profileobject
authobject
settingsobject or nullOptional
projectslist of objects or nullOptional
accessTokenslist of objects or nullOptional
invitationslist of objects or nullOptional
contactValidationEventslist of objects or nullOptional
notificationslist of objects or nullOptional
analyticsobject or nullOptional