Skip to main content
Data requests

List all data requests of the individual

GET/v4/service/consent/organisation/data-status

Lists all the data requests of the individual in your organisation (delete, download and update), newest first, one page at a time. Use status to get only the open or only the closed requests.

isRequestsOngoing, isDataDeleteRequestOngoing and isDataDownloadRequestOngoing look only at the requests of this page: a request in state 1 or 2 of any type, of type 1 (delete), and of type 2 (download). To check one type over all requests, use its status route, for example Read the open data delete request of the individual. This route takes an API key or a token of the identity provider of the organisation, not an individual token or a token of the privacy dashboard login.

Authorizations

  • Authorizationstringheaderrequired

    Your API key with the prefix ApiKey: ApiKey <your-api-key>. Get an API key.

    Scope:data-requests:read

Query parameters

  • offsetinteger

    Number of records to skip for pagination. A negative or unreadable value falls back to 0.

    At least 0.

    Default:0

  • limitinteger

    Maximum number of records to return per page.

    Default:10

  • statusenum<string>

    Filter by state. open: the requests in state 1 or 2. closed: the requests in state 6, 7 or 8. Leave it out (or send another value) to get all requests.

    Available options:open,closed

    Example:"open"

Headers

  • X-ConsentBB-IndividualIdstring

    ID of the individual, or its externalId. Mandatory with an API key: without it the answer is 400 ("IndividualId is not present in request header"), and an unknown individual gets 400 too. With an individual token, leave it out: the server takes the individual from the token. Send it only on the routes that list it: with an API key that has resource scopes (for example consent-records:read), another route answers 400 to a request with this header.

    Example:"6af081b138e8f33dcf799628"

Response

application/json

One page of data requests of the individual.

  • dataRequestsobject[] | null

    The data requests of this page. null when offset is past the last data request.

  • isRequestsOngoingboolean

    true when a request of this page is in state 1 or 2.

  • isDataDeleteRequestOngoingboolean

    true when a delete request of this page is in state 1 or 2.

  • isDataDownloadRequestOngoingboolean

    true when a download request of this page is in state 1 or 2.

  • paginationobject