Read data subject request type.

GET https://api.consentgrid.io/v1/dsr/types/{id}
Authorization: Bearer apiKey

Returns the DSR type identified by id

.

Response

200 Ok

The response is the DSR request type object.

{
  "name": "Request to delete data",
  "id": "deleteData",
  "defaultDueDate": "45d",
   "metadata": {
     "key": "value"
  },
  "workflow": {..},
   "fields": [ {
     "name": "field1",
     "type": "date",
     "array": false,
     "required": true
    },...
  ],
  "attachments": [ {
    "name": "idCard",
    "required": true,
    "multiple": false
   },...
  ]
}
400 Bad Request

Malformed request, invalid value, etc. The return value is a JSON error object containing diagnostic information.

403 Forbidden

The authenticated key does not have the privileges for this operation. The return value is a JSON error object containing diagnostic information.