Deliveries
Besday Deliveries API: list every delivered version of an order and download the video files, previews and originals, with byte ranges.
Updated · API version 2026-12-03
A delivery is one version of the finished video with its files. The first delivery is version 1; each revision adds a version.
The delivery object#
One delivered version of an order’s video, with its files (main video, extra hooks, raw footage, captions, thumbnails). A revision adds a new version.
| Field | Description |
|---|---|
objectstring | Always delivery.delivery |
idstring | Unique id. |
order_idstring | The order. |
versioninteger | 1 for the first delivery, 2 after the first revision, and so on. |
statusstring | The version’s state. |
delivered_atstring · nullable | ISO 8601 timestamp (UTC) |
created_atstring | ISO 8601 timestamp (UTC) |
filesobject[] | The files: { id, slot, file_name, media, mime_type, size_bytes, duration_seconds, width, height, preview_url, download_url }. download_url is null while downloads are locked. |
{
"object": "delivery",
"id": "dv_91aa2f",
"order_id": "prj_01HZX8Q4V2",
"version": 1,
"status": "delivered",
"delivered_at": "2026-12-06T18:40:00.000Z",
"created_at": "2026-12-06T18:02:00.000Z",
"files": [
{
"object": "delivery_file",
"id": "df_4c7e10",
"slot": "Main video",
"file_name": "maya-serum-v1.mp4",
"media": "video",
"mime_type": "video/mp4",
"size_bytes": 48211904,
"duration_seconds": 31.2,
"width": 1080,
"height": 1920,
"preview_url": "https://besday.com/api/v1/orders/prj_01HZX8Q4V2/deliveries/files/df_4c7e10?variant=preview",
"download_url": null
}
]
}List deliveries#
GET/api/v1/orders/{id}/deliveriesscope: read
Every delivered version of the order and its files, with preview and download links.
Path parameters
| Parameter | Description |
|---|---|
idstring · required | The order id. |
Request
curl "https://besday.com/api/v1/orders/prj_01HZX8Q4V2/deliveries" \
-H "Authorization: Bearer $BESDAY_API_KEY"const res = await fetch("https://besday.com/api/v1/orders/prj_01HZX8Q4V2/deliveries", {
headers: {
Authorization: `Bearer ${process.env.BESDAY_API_KEY}`,
},
});
const data = await res.json();
if (!res.ok) throw new Error(`${data.error.code}: ${data.error.message}`);import os, uuid, requests
res = requests.get(
"https://besday.com/api/v1/orders/prj_01HZX8Q4V2/deliveries",
headers={
"Authorization": f"Bearer {os.environ['BESDAY_API_KEY']}",
},
timeout=30,
)
res.raise_for_status()
print(res.json())Response 200
{
"object": "list",
"originals_unlocked": false,
"locked_reason": "Downloads unlock when you approve. Until then you watch a watermarked preview, which keeps the creator’s work safe while you review it.",
"data": [
{
"object": "delivery",
"id": "dv_91aa2f",
"order_id": "prj_01HZX8Q4V2",
"version": 1,
"status": "delivered",
"delivered_at": "2026-12-06T18:40:00.000Z",
"created_at": "2026-12-06T18:02:00.000Z",
"files": [
{
"object": "delivery_file",
"id": "df_4c7e10",
"slot": "Main video",
"file_name": "maya-serum-v1.mp4",
"media": "video",
"mime_type": "video/mp4",
"size_bytes": 48211904,
"duration_seconds": 31.2,
"width": 1080,
"height": 1920,
"preview_url": "https://besday.com/api/v1/orders/prj_01HZX8Q4V2/deliveries/files/df_4c7e10?variant=preview",
"download_url": null
}
]
}
],
"has_more": false,
"next_cursor": null
}Errors
404 not_found: No such object for your brand.
On a real creator’s order, originals unlock when you approve; until then download_url is null and preview_url serves a watermarked preview. AI creators’ files download at once.
Download a file#
GET/api/v1/orders/{id}/deliveries/files/{file_id}scope: read
The file’s bytes (supports HTTP Range). Add ?variant=preview for the watermarked preview.
Path parameters
| Parameter | Description |
|---|---|
idstring · required | The order id. |
file_idstring · required | A file id from List deliveries. |
Query parameters
| Parameter | Description |
|---|---|
variantstring | Serve the watermarked preview instead of the original.preview |
Request
curl -L -o video.mp4 "https://besday.com/api/v1/orders/prj_01HZX8Q4V2/deliveries/files/df_4c7e10" \
-H "Authorization: Bearer $BESDAY_API_KEY"const res = await fetch("https://besday.com/api/v1/orders/prj_01HZX8Q4V2/deliveries/files/df_4c7e10", {
headers: {
Authorization: `Bearer ${process.env.BESDAY_API_KEY}`,
},
});
const bytes = Buffer.from(await res.arrayBuffer());import os, uuid, requests
res = requests.get(
"https://besday.com/api/v1/orders/prj_01HZX8Q4V2/deliveries/files/df_4c7e10",
headers={
"Authorization": f"Bearer {os.environ['BESDAY_API_KEY']}",
},
timeout=30,
)
res.raise_for_status()
open("video.mp4", "wb").write(res.content)Errors
403 download_locked: Originals of a real creator’s order unlock when you approve the delivery; the watermarked preview is available before.404 not_found: No such object for your brand.