post https://{hostname}/api/consent/v2/receipts
Use this API to retrieve a list of all receipts. Depending on the query or header parameter values passed in the request, the response will return specific details about receipts, including relevant information about Collection Point interactions, Purposes, and the associated Purpose Preferences and attributes.
Things to Know
- The timespan for the
fromDateandtoDatevalues must be 24 hours or less.- The
includeArchivedparameter must be included to retrieve receipts created within the last 90 days. For receipts created more than 90 days ago, use eitherincludeArchivedandidentifierorincludeArchivedandreceiptId.- If the
includeArchivedparameter is set totrueand the number of records is greater than a page,nextMarkermust be included in the next request body to paginate.- The
requestContinuationparameter is returned if more than one page of records is returned in the response.requestContinuationmust be included in the next request body to paginate.- This API returns Purpose descriptions inside
<p>and</p>HTML tags. These can be sanitized depending on your formatting needs.
