Add a delete request

You can use the Privacy Request endpoint in order to comply with California Consumer Privacy Act deletion requests through Attentive. For more information, you can review Attentive’s FAQs for CCPA or the Important Notice Regarding the CCPA of 2018. The following input fields are provided:

subjectEmail - Email of a subscriber. Only required if subjectPhone is empty.

subjectPhone - Email of a subscriber. Only required if subjectEmail is empty.

requestMsg - An optional message for an audit trail.

The response will provide a record of the request.

Example query

Copy
Copied
mutation CreatePrivacyDeleteRequest($input: CreatePrivacyDeleteRequestInput!) {
  createPrivacyDeleteRequest(input: $input) {
      privacyRequest  {
          subjectEmail,
          subjectPhone,
          requestMsg,
          requestDateTime
      }
  }
}
  

Example Input Variable:

Copy
Copied
{
    "input" : {
        "subjectPhone" : "11111111111",
        "subjectEmail": "test@gmail.com",
        "requestMsg": "A message for an audit trail"
    }
}