Request Closed

The Request Closed event is fired when a DSR request is closed.

Payload Schema

In addition to the standard fields every event has, the Request Closed event has the following fields in its payload:

Field NameDescription
ticketInfoInformation about the DSR request, including: ID, type, date, source (channel) and domain.
userInfoInformation about the requesting user, including: name, email, verification status and custom metadata.
evidenceEmail evidence for the relationship the requesting user has with the company. Available only for requests coming from the MineApp channel.
closingReasonThe reason for closing the request (Completed, Rejected, etc.)

An example event:

{
  "eventId": "af751115-0653-45c9-8b8a-64ea3648a997",
  "eventType": "TicketClosed",
  "closingReason" : "Completed",
  "isTest": true,
  "ticketInfo": {
    "id": "fb8667b6-7abf-4f20-895e-2f53378f8a85",
    "source": "Form",
    "domain": "acme.com",
    "createdAt": "2021-12-20T17:49:45.7266574Z",
    "requestType": {
      "id": "delete", 
      "name": "Delete"
    }
  },
  "userInfo": {
    "name": "Test User",
    "email": "[email protected]",
    "isVerified": true,
    "customFields": {
      "customKey": "value",
      "anotherCustomKey": "anotherValue"
    }
  },
  "evidence": {
    "countryCode": "US",
    "emailEvidence": [
      {
        "FromAddress": "[email protected]",
        "FromDisplayName": "company",
        "ReplyTo": [
          "[email protected]"
        ],
        "SubjectLine": "We received your order",
        "Sent": "2021-12-13T17:49:45.7267409Z"
      },
      {
        "FromAddress": "[email protected]",
        "FromDisplayName": "Acme Company",
        "ReplyTo": [
          "[email protected]"
        ],
        "SubjectLine": "Your order has been placed",
        "Sent": "2021-12-10T17:49:45.7268405Z"
      }
    ],
    "evidenceDescription": "FromDisplayName: Acme Company FromAddress: [email protected] Subject: We received your order Date: 12/13/2021. \nFromDisplayName: Acme Company FromAddress: [email protected] Subject: Welcome to Acme Date: 12/10/2021. ",
    "mobileNumber": null,
    "state": null,
    "address": null
  }
}