List data subject request types.

GET https://api.consentgrid.io/v1/dsr/types?filter=nameFilter
Authorization: Bearer apiKey

This call accepts the following query parameters

filter
Request type name filter. Request types whose name containing the given string will be returned.
from
Starting offset in the result set. Result set is ordered by name.
n
Maximum results to return. If omitted, result set is capped at 100.

Response

200 Ok

The response is a list of DSR request type objects.

{
  "total":2,
  "types": [ {
    "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.