Download status update webhook
Webhooks
Download status update webhook
Receives status updates for download preparation operations from Google Cloud Functions.
POST
Download status update webhook
This endpoint requires authentication. Include your Bearer token in the Authorization header.
Description
Authentication: Requiresroyalti-x-hash header containing HMAC signature.
Workflow:
- Validates download record exists
- Updates download status and URL
- Sends email notification when status is ‘done’
Code Examples
Body
application/json
Download record UUID
Example:
"d3f2c1b0-1234-5678-90ab-cdef12345678"
Current status of the download
Available options:
preparing, done, failed, expired Example:
"done"
Google Cloud Storage signed URL for download
Example:
"https://storage.googleapis.com/downloads/export-2024-01-15.csv?signature=..."
Response
Webhook processed successfully
Example:
"Download record status is marked as done"