v1

latestOpenAPI 3.1.0Apache 2.02026-07-245981,1853.0 MB
DROP Management

Create Drop Request

Use this API to create a privacy request from a DROP record.

post/drop-manager/v2/drop/{dropId}/request

Path parameters

dropIdinteger required

DROP record identifier

Request body

dropRequestType'DataDeletion' | 'OptOut' required

Drop Request Type

firstNamestring

First name of the respondent.

lastNamestring

Last name of the respondent.

emailstring

Email address of the respondent.

languagestring

The ISO language code for OneTrust supported languages. Examples: en-us for English, de for German, fr for French, etc.

additionalDataobject

Additional fields in key value format, required for request processing. These could be webform or non webform fields

requestTypesstring[]

Respondents privacy request type. This should match with the webform request type.

subjectTypesstring[]

Respondents subject type or relation ship with tenant. This should match with the webform subject type.

multiselectFieldsobject

Multi-select fields in key-value format where values are lists of selected options

requestTraceIdstring uuid

Unique trace id for request

templateIdstring uuid required

Template ID for request creation

Example request

{
  "dropRequestType": "DataDeletion",
  "firstName": "Test",
  "lastName": "User",
  "email": "testuser@onetrust.com",
  "language": "en-us",
  "additionalData": {
    "key": "value"
  },
  "requestTypes": [
    "opt-out",
    "Get My Data"
  ],
  "subjectTypes": [
    "Customer",
    "Authorized Agent"
  ],
  "multiselectFields": {
    "interests": [
      "marketing",
      "newsletters"
    ]
  },
  "requestTraceId": "e2d0f59e-3df0-4b1f-965d-d57547ed44ad",
  "templateId": "550e8400-e29b-41d4-a716-446655440000",
  "attachments": [
    {
      "statusId": 10,
      "resourcePath": "/storage/attachments/sample.txt",
      "fileName": "sample.txt",
      "fileId": "3b47744c-eebf-44bb-bf4c-680966a448dc"
    }
  ]
}

Response

Created