v50

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-306170167.5 KB
Data Requests

Get Consent Requests Of Data Request And Kt Id P

<strong>This endpoint is deprecated, because it does not return the name of the UIDs. Please use /v2/data-requests/{id}/kt-id-p/{kt-id-p}/consent-requests instead.</strong><br><br>Retrieves all consent requests associated with a specific data request and kt-id-p. Accessible to the consumer who owns the data request.

get/api/agreement/v1/data-requests/{id}/kt-id-p/{kt-id-p}/consent-requests

Path parameters

idstring uuid required

The UUID of the data request

kt-id-pstring required

The kt-id-p identifier of the producer

Response

OK

idstring uuid required
dataProducerUidstring

UID of the data producer

stateCode'GRANTED' | 'OPENED' | 'DECLINED' | 'NOT_CREATED'

Possible states of a consent request:

  • GRANTED: Consent has been granted
  • OPENED: Consent request is open and awaiting response
  • DECLINED: Consent has been declined
  • NOT_CREATED: Placeholder to indicate that no consent request exists yet for a given UID.

Example response

[
  {
    "dataProducerUid": "CHE123456789"
  }
]