Read a delivery
GET /api/v1/deliveries/{id}
A delivery with the verdict of each of its received files, in the order they were announced, and the link to its review in ValidFile.
Scope · deliveries:read
Path parameters
iduuid required- The delivery, as
POST /deliveriesreturned it.
What the response holds · 200
deliverydelivery- The delivery.
The fields of delivery
iduuid- The delivery’s id.
clientstring- The client, as you gave it.
campaignstring- The campaign, as you gave it.
platformsarray of string | null- The campaign’s platforms, in the order of
GET /platforms, ornullfor a delivery started in ValidFile before its Campaign step: each of its files is judged on the whole catalogue. campaignRefstring | null- Your campaign reference, folded to lower case, or
null. closedboolean- 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. createdAtdate-time- When it was made.
keptUntildate-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. testboolean- 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.
filesarray of file- Its received files, judged at this read. A file announced whose
/completehas not come is not there. The fields of file
iduuid- The file’s id.
namestring- The name announced.
sizeinteger- The size announced, in bytes.
readyboolean- True if ValidFile’s export would send this file as it is. It is the one to publish on.
heldReasonstring | null- Why the file is held,
nullif it is ready. refusedno_formatto_confirmoutsidenamed_elsewherewrong_boxnot_ordereduncheckedunseenwaitingunreadableduplicatescanninginfectednot_checkedverdictstring- What the specs say of the file.
passwarnfailno_formatneeds_placementpendingunreadableinfectednot_checkedplacementplacement | null- The placement it was judged on, or
null. The fields of placement
idstring- The placement in ValidFile’s catalogue: the one
PUT …/placementtakes. platformstring- Its platform, as
GET /platformsnames it. labelstring- Its name in ValidFile’s catalogue, as written there, in French for some: the English site says it in English (“Publicité à formulaire — Square 1:1” is “Lead ad — Square 1:1” there), the API never does.
rulesToConfirmboolean- True when one of its rules is not yet settled by the official page alone: a page not read in full, a value from another site, or a question open between two pages. The review says so under the verdict (“Format to confirm: one of its rules…”). A
passon such a placement is right by ValidFile’s rules, which may not be the platform’s. Always false for one of your agency’s own formats, whose rules are yours. Unrelated toheldReason: "to_confirm", which says it is the placement itself that is to confirm. pageChangedboolean- True when the monthly check no longer found on the official page a sentence the catalogue quotes: the platform may ask for something other than what ValidFile checks, until the catalogue is reviewed.
nearestplacement | null- For a file no format takes: the nearest placement, whose rules
checksgives. Never the file’s placement. The fields of placement
idstring- The placement in ValidFile’s catalogue: the one
PUT …/placementtakes. platformstring- Its platform, as
GET /platformsnames it. labelstring- Its name in ValidFile’s catalogue, as written there, in French for some: the English site says it in English (“Publicité à formulaire — Square 1:1” is “Lead ad — Square 1:1” there), the API never does.
rulesToConfirmboolean- True when one of its rules is not yet settled by the official page alone: a page not read in full, a value from another site, or a question open between two pages. The review says so under the verdict (“Format to confirm: one of its rules…”). A
passon such a placement is right by ValidFile’s rules, which may not be the platform’s. Always false for one of your agency’s own formats, whose rules are yours. Unrelated toheldReason: "to_confirm", which says it is the placement itself that is to confirm. pageChangedboolean- True when the monthly check no longer found on the official page a sentence the catalogue quotes: the platform may ask for something other than what ValidFile checks, until the catalogue is reviewed.
candidatesarray of placement- For a
needs_placementonly: the placements to choose between. The fields of placement
idstring- The placement in ValidFile’s catalogue: the one
PUT …/placementtakes. platformstring- Its platform, as
GET /platformsnames it. labelstring- Its name in ValidFile’s catalogue, as written there, in French for some: the English site says it in English (“Publicité à formulaire — Square 1:1” is “Lead ad — Square 1:1” there), the API never does.
rulesToConfirmboolean- True when one of its rules is not yet settled by the official page alone: a page not read in full, a value from another site, or a question open between two pages. The review says so under the verdict (“Format to confirm: one of its rules…”). A
passon such a placement is right by ValidFile’s rules, which may not be the platform’s. Always false for one of your agency’s own formats, whose rules are yours. Unrelated toheldReason: "to_confirm", which says it is the placement itself that is to confirm. pageChangedboolean- True when the monthly check no longer found on the official page a sentence the catalogue quotes: the platform may ask for something other than what ValidFile checks, until the catalogue is reviewed.
checksarray of check- The checks of the placement, or of the nearest one. Empty until the file is measured.
The fields of check
keystring- What is checked:
dimensions,duration,clickTag… Reading a verdict gives each key. A key can come twice, for a rule and for a recommendation. statusstring- The result. Reading a verdict says what each means.
passwarnfailskippednoteexpectedstring | null- What the placement asks for, as text.
actualstring | null- What ValidFile measured, as text.
messagestring | null- ValidFile’s sentence in English, when there is something to say.
textsays it in French and in English, in the review’s words, which can differ. To automate, readkeyandstatus. textcheckText- The check as a person reads it in ValidFile’s review, in French and in English: to show as it is. Reading a verdict says how.
The fields of checkText
frcheckWords- In French.
The fields of checkWords
rulestring | null- The rule’s name: “File size”, “Colour space”.
expectedstring | null- What the placement asks for, written as the review writes it: “≤ 150 KB”, “sRGB, Greyscale”.
actualstring | null- What ValidFile measured, written the same way.
messagestring | null- ValidFile’s sentence in this language, when there is something to say. A sentence ValidFile cannot say in French yet stays in English.
encheckWords- In English.
The fields of checkWords
rulestring | null- The rule’s name: “File size”, “Colour space”.
expectedstring | null- What the placement asks for, written as the review writes it: “≤ 150 KB”, “sRGB, Greyscale”.
actualstring | null- What ValidFile measured, written the same way.
messagestring | null- ValidFile’s sentence in this language, when there is something to say. A sentence ValidFile cannot say in French yet stays in English.
acceptedboolean- On a
failor awarnonly: true if your team let this rule through in ValidFile (“Accept anyway”). The check still fails, but no longer holds the file. unmeasuredboolean- On a
skippedonly: true if a measurement was missing, false if there was nothing to check, an absent audio track for instance.
fixfix | null- What to change in the file, in French and in English: the lines your team writes to your client from the review, with “Message to the client”.
nullwhen there is no change to ask of it: the file is ready, not judged yet, held for your team to check, orinfected: that one is asked for again whole, there is nothing to change in it. Reading a verdict. The fields of fix
requiredboolean- True for a file refused or that no format takes: it must be made again to go out. False for a remark: the file can go as it is.
doubtfulboolean- True when the refusal may not be your client’s to fix: the file is judged outside the campaign, under a name that names another platform, on the platform its name names while another platform’s placement takes it, on a placement ValidFile chose among several, in a box that may not be the right one, or it is an HTML5 banner whose dimensions were not read. Look at it in the review before asking for a new file.
frarray of string- The lines to give whoever makes the file, in French.
enarray of string- The same lines, in English.
antivirusantivirus | null- What the antivirus says of it. A file is
readyonly once scanned. The fields of antivirus
statestring- Where the antivirus stands:
scanning,clean(no known threat found),infectedorunscanned. scanningcleaninfectedunscannedthreatstring | null- For an
infected: the threat’s name, as ClamAV gives it. reasonstring | null- For an
unscanned: why nobody looked. too_largelimitsencryptedfailedbeforesignaturesdate-time | null- The date of the signatures it was scanned with.
originstring- Where it came from:
client, dropped by your client on its drop link;api, sent by one of your keys;agency, added by a person of your agency in ValidFile. clientapiagencyreplacesuuid | null- The file it is the corrected version of, which your client replaced on its link, or
null. The file replaced is no longer in the delivery. declaredPlatformstring | null- The platform in whose box your client dropped it, as the review reads it, or
nullwhen the review reads no box: a file that came from no box, or from a platform the campaign no longer has; a file whose shape you assigned to a placement, your choice coming before the box; a file that fills an ordered placement of a platform the campaign does not tick; a file not judged yet (pending,unreadable,infected), whose shape is not known yet. If that platform refuses it and another of the campaign takes it, it is judged on the other and held aswrong_box, unless another reason to hold it comes first, until your client says which platform it is for: it is then judged on that one alone, refused if it must be. judgedAtdate-time- When this verdict was given: at this read, with the day’s specs.
cataloguecatalogue- Which specs judged it.
The fields of catalogue
versionstring- The version of ValidFile’s specs that judged it.
agencyVersioninteger- The version of your agency’s own formats,
0if it has none.
noFileForarray of string | null- The campaign’s platforms no file has arrived for, as
GET /platformsnames them: to ask your client for again.nullfor a delivery with no platforms, and while a file is still being measured or our reader could not read it (unreadable), or a banner says no platform: that file may be the one missing, and nothing can be said missing yet. Anunreadablefile is measured again when its review is opened in ValidFile. reviewUrluri | null- The delivery’s review in ValidFile, where your team approves and exports;
nullfor a test delivery, which ValidFile does not show.
Errors
| 404 | not_found | A delivery or file unknown, deleted, or erased at the end of its retention; or an address the API does not have. |
And those of any call, in Limits and errors.
Each read judges the files again, with the day’s specs: Reading a verdict says what can change from one read to the next.
curl https://validfile.ca/api/v1/deliveries/$DELIVERY \
-H "Authorization: Bearer $VALIDFILE_KEY"
{
"delivery": {
"id": "0b6c2f4e-8d1a-4c7b-9f3e-5a2d1c8b7e60",
"client": "Fromagerie Boivin",
"campaign": "Noël 2026",
"platforms": ["Meta", "Display"],
"campaignRef": "bynder:4471",
"closed": true,
"createdAt": "2026-10-28T18:40:02.114Z",
"keptUntil": "2027-10-28T18:42:10.531Z",
"test": false
},
"files": [
{
"id": "9e2d4c1a-3b7f-4e0d-8a6c-2f1b5d9e7c43",
"name": "Meta_FR_carre-noel.jpg",
"size": 7160,
"ready": false,
"heldReason": "to_confirm",
"verdict": "needs_placement",
"placement": { "id": "meta.leadad.image.1x1", "platform": "Meta", "label": "Publicité à formulaire — Square 1:1", "rulesToConfirm": false, "pageChanged": false },
"nearest": null,
"candidates": [
{ "id": "meta.leadad.image.1x1", "platform": "Meta", "label": "Publicité à formulaire — Square 1:1", "rulesToConfirm": false, "pageChanged": false },
{ "id": "meta.carousel.image.1x1", "platform": "Meta", "label": "Carrousel — Square 1:1", "rulesToConfirm": false, "pageChanged": false },
{ "id": "meta.feed.image.1x1", "platform": "Meta", "label": "Image — Square 1:1", "rulesToConfirm": false, "pageChanged": false }
],
"checks": [
{ "key": "mime", "expected": "JPG, PNG", "actual": "JPG", "message": null,
"text": {
"fr": { "rule": "Format de fichier", "expected": "JPG, PNG", "actual": "JPG", "message": null },
"en": { "rule": "File format", "expected": "JPG, PNG", "actual": "JPG", "message": null }
},
"status": "pass" },
{ "key": "dimensions", "expected": "1080x1080", "actual": "1080x1080", "message": null,
"text": {
"fr": { "rule": "Dimensions", "expected": "1080x1080", "actual": "1080x1080", "message": null },
"en": { "rule": "Dimensions", "expected": "1080x1080", "actual": "1080x1080", "message": null }
},
"status": "pass" },
{ "key": "aspectRatio", "expected": "1:1", "actual": "1:1 (1.000)", "message": null,
"text": {
"fr": { "rule": "Ratio", "expected": "1:1", "actual": "1:1 (1.000)", "message": null },
"en": { "rule": "Aspect ratio", "expected": "1:1", "actual": "1:1 (1.000)", "message": null }
},
"status": "pass" }
],
"fix": null,
"antivirus": { "state": "clean", "threat": null, "reason": null, "signatures": "2026-10-28T09:27:01.000Z" },
"origin": "api",
"replaces": null,
"declaredPlatform": null,
"judgedAt": "2026-10-28T18:42:10.531Z",
"catalogue": { "version": "2026.10.26.1", "agencyVersion": 0 }
}
],
"noFileFor": ["Display"],
"reviewUrl": "https://validfile.ca/livraisons/0b6c2f4e-8d1a-4c7b-9f3e-5a2d1c8b7e60/revue"
}