Skip to content
⌘K
InboxAsk a human

User Privacy API

Updated by Vaishnavi

Use the User Privacy API to request deletion of data matched by configured metadata fields. To choose between user/account deletion, individual feedback removal, ingestion rules, or integration deletion, see Data Deletion Options in Enterpret. PII masking at ingestion is a separate workflow.

Introduction

Configure the identifiers and scope with your Enterpret team before submitting requests. This workflow can support your privacy process; it does not by itself establish compliance with a particular law.

Use Case

Use this workflow when you receive a deletion request from a user or need to remove data matched by configured identifiers. Confirm the matching fields, associated records, and any separately retained copies with your Enterpret team.

Authorization

Ask your customer success representative for an API key.

Confirm which metadata fields and record types Enterpret will match for requests made with this API key.

This API Key should be used with every request as a value for the api-key header.

Submitting Deletion Requests

Use the API key obtained above to make a POST request to https://api.enterpret.com/webhook/delete/custom.

Set ids to the identifier values that match the metadata fields configured for this API key. Confirm the matching scope before sending the request. A user or account match can also delete associated records. The sample below uses user IDs.

Sample Request Body:

{ "ids": [ "user_id_1", "user_id_2"] }

Request Limits

Submit no more than 100 IDs per request. To delete more than 100 IDs, split them across multiple requests. Contact Enterpret Support about request throughput and any applicable limits for your integration.

Processing of Deletion Requests

What is Deleted?

Depending on the configured metadata fields and matching scope, deletion requests can target the following data:

  • Feedback Records: This includes any feedback and its associated metadata

  • User Data: This includes all of the user's metadata along with any feedback that is associated with the user.

  • Account Data: This includes account metadata and any associated user and feedback records.

What gets deleted depends on what matches:

  • A record metadata match will delete the corresponding records.

  • A user metadata match will delete the matching users as well as their related records.

  • When an identifier in ids matches an account’s configured metadata field value, Enterpret deletes the matching account and any associated users and feedback records.

When deletion requests are processed

Deletion requests are batched for scheduled processing. The default deletion-job schedule runs every 24 hours. Contact Enterpret Support to confirm your workspace's schedule, expected completion time, and deletion outcome.