List deliveries

GET /api/v1/deliveries

The agency’s deliveries, newest first, a page at a time. With campaignRef, those of one campaign: a workflow finds the delivery it already made this way.

Scope · deliveries:read

Query parameters

campaignRef string optional
Only those with this reference, folded to lower case as at creation.
limit integer optional
How many a page, from 1 to 100; 50 by default.
cursor string optional
The previous page’s next, as it is.

What the response holds · 200

deliveries array of delivery
The deliveries, without their files: Read a delivery gives them.

The fields of delivery

id uuid
The delivery’s id.
client string
The client, as you gave it.
campaign string
The campaign, as you gave it.
platforms array of string | null
The campaign’s platforms, in the order of GET /platforms, or null for a delivery started in ValidFile before its Campaign step: each of its files is judged on the whole catalogue.
campaignRef string | null
Your campaign reference, folded to lower case, or null.
closed boolean
True once the delivery is closed: by POST …/close, or by your client when it says on its drop link that its delivery is complete. A closed delivery still takes files.
createdAt date-time
When it was made.
keptUntil date-time
The day it will be erased if nothing happens to it before, by your plan’s retention. It moves later with each activity. Once erased, it answers 404. For a test delivery: 24 h after its making or its last file.
test boolean
True for a delivery made with a test key (vf_test_): its files cost nothing and are erased after 24 h, and ValidFile shows it nowhere. Authentication.
next string | null
To pass as cursor for the next page; null on the last.

Errors

400invalidFix the request: a field is missing, too long or of another type, or the JSON is malformed.

And those of any call, in Limits and errors.

A delivery deleted in ValidFile, or erased at the end of its retention, is no longer listed.

curl "https://validfile.ca/api/v1/deliveries?campaignRef=bynder:4471" \
  -H "Authorization: Bearer $VALIDFILE_KEY"
{
  "deliveries": [
    {
      "id": "0b6c2f4e-8d1a-4c7b-9f3e-5a2d1c8b7e60",
      "client": "Fromagerie Boivin",
      "campaign": "Noël 2026",
      "platforms": ["Meta", "Display"],
      "campaignRef": "bynder:4471",
      "closed": false,
      "createdAt": "2026-10-28T18:40:02.114Z",
      "keptUntil": "2027-10-28T18:42:10.531Z",
      "test": false
    }
  ],
  "next": null
}