Using the Asynchronous Request Creation API
You can call OneTrust asynchronously from a published web form or external application to dynamically create a request that will appear in the Web Form Configuration screen.
Note:
This documentation uses the Postman tool to test API integrations.
To copy the API URL
To copy the API Token
To copy the Expected Payload
To verify the request in OneTrust
Note:
To reduce API calls and resource use when checking request status, use exponential backoff between polling attempts. Alternatively, configure an integration event for the request creation event in Workflow Settings to call a webhook to your system, eliminating the need to poll. For retries, include the original requestTraceId in the requestTraceId field of the request creation payload to help prevent duplicate requests.