Use this API to create multiple consent receipts in a single request. This bulk endpoint optimizes performance when processing a large number of consent transactions simultaneously.
Things to Know
Each collection point must first be set up in the OneTrust application to generate a valid JWT, which must be present in the request payload. The JWT can be found on the Integrations tab of the collection point Details screen or via the Get Collection Point Token API.
The bulk endpoint accepts an array of consent receipt objects, allowing you to submit multiple consent transactions in a single API call.
Response times may vary depending on the number of receipts being processed. Consider implementing appropriate timeout handling in your integration.
All receipts in a bulk request must use the same collection point. If you need to submit receipts for different collection points, use separate API calls.
In most cases, further authorization is not required. However, additional information for setting up authenticated consent can be found here when needed.