sync=false will return immediately with a task_id and process in the background. When complete, the result is available via polling or delivered to your webhook URL.
Async processing
Webhook payload
When the task completes, we POST the result to yourwebhook_url:
Verifying webhooks
Every webhook includes two security headers:
Verify the signature to ensure the payload is authentic and hasn’t been tampered with:
Retry policy
Failed webhook deliveries are retried automatically:- 4xx responses are treated as permanent failures (not retried)
- 5xx responses and timeouts are retried
- Your endpoint should return
200to acknowledge receipt
Checking delivery status
If you didn’t receive a webhook, check the delivery log:pending— Not yet attempteddelivered— Successfully received (2xx response)failed— Will be retrieddead— Exhausted all retry attempts or permanent 4xx failure
Deduplication
Use theX-TDA-Delivery-ID header to deduplicate retries. If your server crashes after processing but before responding, the retry will carry the same delivery ID.