{
"success": true,
"data": {
"jobId": "0f8c2a51-6b0e-4c39-9d1f-2b7a4e6c9a10",
"type": "collection",
"status": "completed",
"collection": {
"id": "18",
"url": "https://soundcloud.com/forss/sets/soulhack",
"title": "Soulhack",
"uploader": "Forss",
"itemCount": 11
},
"items": [
{
"id": "290",
"url": "https://soundcloud.com/forss/city-ports",
"title": null,
"duration": null,
"isLive": null,
"isCollection": false
}
],
"nextCursor": null,
"truncated": false,
"costInDollars": 0.003
}
}Collection listing completed webhook
The payload Importly POSTs to your webhookUrl when a collection listing job succeeds.
{
"success": true,
"data": {
"jobId": "0f8c2a51-6b0e-4c39-9d1f-2b7a4e6c9a10",
"type": "collection",
"status": "completed",
"collection": {
"id": "18",
"url": "https://soundcloud.com/forss/sets/soulhack",
"title": "Soulhack",
"uploader": "Forss",
"itemCount": 11
},
"items": [
{
"id": "290",
"url": "https://soundcloud.com/forss/city-ports",
"title": null,
"duration": null,
"isLive": null,
"isCollection": false
}
],
"nextCursor": null,
"truncated": false,
"costInDollars": 0.003
}
}Authorizations
Headers
t=<unix seconds>,v1=<signature>. t is when the request was sent; v1 is the hex HMAC-SHA256 of
<t>.<raw request body>, keyed with your webhook signing secret (whsec_…, on the dashboard's API key
page). For 24 hours after you rotate the secret there is a second v1, signed with the old one. Accept
the request if any v1 matches and t is within 300 seconds of now. See
Verify signatures.
1 for the first delivery of a job's outcome, 2 for the first retry, and so on up to 7. A delivery that
times out (10 seconds), can't connect, or gets a 408, 429 or 5xx is retried after 1 minute, 5 minutes,
30 minutes, 2 hours, 6 hours and 12 hours. Any other response, including other 4xx, ends it.
1 <= x <= 7Body
Response
Return any 2xx quickly; do heavy work asynchronously.