- DarkLight
Privacy Compliance - Pseudonymization Request Information
- DarkLight
Overview
This API allows an Agent to take pseudonymization requests from the customer. Pseudonymization means masking a part of available personal information. For example, a phone number 99999 99999 can be pseudonymized as 9xx9x x9xx9; or an email address like johndoe@zyxwv.com can be masked as jxxnxxe@xxxwv.com.
Note
Agents can only raise a request to the admins to pseudonymize all the personal information related to the customer that is available on our application. The admin acts based on this request.
Pre-requisite
The agent must be on an active call or logged in to the application.
Sequence Diagram

Message Structure
Request Parameters | Value |
|---|---|
channel | LCM |
topic | Webservice |
subtopic | CreatePseudonymizationRequest |
source | «app-name-broadcasting-this-message» |
data | «JSON Object» |
Data Parameters
Parameter | Mandatory | Data Type | Description |
|---|---|---|---|
CustomerName | Yes | String | The customer name. |
PhoneNumber | Yes | String | The customer phone number. |
OtherPhoneNumber | Yes | String | The customer’s alternate phone number. |
EmailID | Yes | String | The customer’s email address. |
OtherEmailID | Yes | String | The customer’s alternate email address. |
AgentComments | Yes | String | The comments noted by the agent for the specific Interaction. |
AccountNumber | Yes | String | The LCM Key. |
CallId | Yes | String | The Call ID generated by the application. |
AgentID | Yes | String | The agent ID of the agent raising the pseudonymization request. |
RequestType | Yes | String | For pseudonymization the value should be Pseudonymization. |
IsPseudonymize | Yes | Boolean | Set to true if customer requests pseudonymization and set to false if customer just requests all PII and not pseudonymization. |
Response Parameters | Value |
|---|---|
channel | LCM |
topic | Webservice |
subtopic | SetPseudonymizationResponse |
message | «JSON Object» |
Message Parameters
Parameter | Mandatory | Data Type | Description |
|---|---|---|---|
response | Yes | String | Pesudynomization request ID. |
Sample Request
{
"channel": "LCM",
"topic": "WebService",
"subtopic": "CreatePseudonymizationRequest",
"message":
{
"CustomerName": "John Smith",
"PhoneNumber": "14152347172",
"OtherPhoneNumber": "",
"EmailID": "",
"OtherEmailID": "",
"CustomerID": "",
"AgentComments": "",
"AccountNumber": "934|1|475|0|0|44|59",
"callid": "934|1|475|0|0|44|59",
"AgentID": "rajat",
"RequestType": "Pseudonymization",
"IsPseudonymize": true
}
}Sample Response
{
"channel": "LCM",
"topic": "WebService",
"subtopic": "SetPseudonymizationResponse",
"message":
{
"response": "10089"
}
}