{
"success": true,
"data": {
"jobId": "a824760e-ece1-4415-8838-ce2a7785ea6b",
"type": "import",
"status": "completed",
"mediaUrl": "https://fly.storage.tigris.dev/cdn-storage/imports/a824760e-ece1-4415-8838-ce2a7785ea6b/Me%20at%20the%20zoo.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=604800&X-Amz-Signature=…",
"title": "Me at the zoo",
"duration": 19,
"thumbnailUrl": "https://i.ytimg.com/vi/jNQXAC9IVRw/hqdefault.jpg",
"costInDollars": 0.03,
"fileSizeBytes": 120621,
"downloadedBytes": 252182,
"filename": "Me at the zoo.mp3"
}
}Webhook payloads
Import completed webhook
The payload Importly POSTs to your webhookUrl when an import succeeds.
WEBHOOK
importCompleted
{
"success": true,
"data": {
"jobId": "a824760e-ece1-4415-8838-ce2a7785ea6b",
"type": "import",
"status": "completed",
"mediaUrl": "https://fly.storage.tigris.dev/cdn-storage/imports/a824760e-ece1-4415-8838-ce2a7785ea6b/Me%20at%20the%20zoo.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=604800&X-Amz-Signature=…",
"title": "Me at the zoo",
"duration": 19,
"thumbnailUrl": "https://i.ytimg.com/vi/jNQXAC9IVRw/hqdefault.jpg",
"costInDollars": 0.03,
"fileSizeBytes": 120621,
"downloadedBytes": 252182,
"filename": "Me at the zoo.mp3"
}
}See Webhooks for delivery rules and how to write the handler.
Authorizations
Body
application/json
Response
200
Return any 2xx quickly; do heavy work asynchronously.