Skip to content

GDPR

Handle data subject requests for profile data. Supports creating requests to view, edit, or delete profile data, fetching the data returned by a view request, and checking request status.

Create request to delete profile data

Request

Security
bearerAuth and apiKeyAuth
Bodyapplication/jsonrequired
requestIdstring
profileKeysArray of objects(ProfileKey)
activityIdstring
activityTypestring
activityIdsArray of strings
activityTypesArray of strings
startTimeinteger, (int64)
endTimeinteger, (int64)
deleteTypestring
referenceIdstring
reasonstring
callbackUrlstring
curl -i -X POST \
  https://api3.sprinklr.com/prod/api/v3/gdpr/delete \
  -H 'Authorization: Bearer <YOUR_Token_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'Key: YOUR_API_KEY_HERE' \
  -d '{
    "requestId": "string",
    "profileKeys": [
      {
        "type": "string",
        "id": "string",
        "snUserId": "string",
        "externalSnType": "string",
        "externalSnId": "string"
      }
    ],
    "activityId": "string",
    "activityType": "string",
    "activityIds": [
      "string"
    ],
    "activityTypes": [
      "string"
    ],
    "startTime": 0,
    "endTime": 0,
    "deleteType": "string",
    "referenceId": "string",
    "reason": "string",
    "callbackUrl": "string"
  }'

Responses

Success

Bodyapplication/json
dataobject
errorsArray of objects(Error)
metadataobject(ResponseMetadata)
Response
{ "data": {}, "errors": [ { … } ], "metadata": {} }