Read the drop link
GET /api/v1/deliveries/{id}/drop-link
The campaign’s latest drop link, made by the API or in ValidFile: where it stands, and how many files it has taken.
Scope · deliveries:read
Path parameters
iduuid required- The delivery, as
POST /deliveriesreturned it.
What the response holds · 200
dropLinkdropLink | null- The link, or
nullif the campaign has none, or if its own was removed in ValidFile. The fields of dropLink
iduuid- The link. A new link of the same campaign has another
id. statestring- Where it stands.
open: it takes files.full: its ceiling is reached.paused: the agency’s plan, or the ceiling it set for all its links, does not let it take any for now; it starts again by itself.expired: its date has passed; for 30 days, a person of the agency can extend it in ValidFile, and it takes files again at the same address.cut: cut, or replaced by a new link; it stays cut.maker_left: the person who made it, or who made the key that made it, left the agency; it works again, at the same address, if they come back. In these three, your client’s page no longer answers andurlisnull. openfullpausedexpiredcutmaker_leftmaxFilesinteger- Its ceiling: how many files it may take in all.
usedinteger- The files it has taken. A file your client withdrew still counts; a copy of a file already in the delivery does not.
accessstringcode: it asks each person for a code sent to their address, among those the agency allowed.link: it opens to whoever has the address. The addresses allowed are never in a response.linkcodeoriginstring- Who made it: an API key (
api), or a person of the agency in ValidFile (agency). apiagencycreatedAtdate-time- When it was made.
expiresAtdate-time- When it stops taking files.
urluri | null- Its address, for a key whose scope includes the drop links, while the link is neither cut, nor expired, nor
maker_left.nullfor any other key: a key that reads knows where the link stands, not where it is.
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.
url is also null for an old link whose address ValidFile did not keep, shown once when it was made.
curl https://validfile.ca/api/v1/deliveries/$DELIVERY/drop-link \
-H "Authorization: Bearer $VALIDFILE_KEY"
{
"dropLink": {
"id": "5f0c7c1e-2a9b-4d3e-b8f1-6c4a0e7d9b25",
"state": "open",
"maxFiles": 40,
"used": 7,
"access": "code",
"origin": "api",
"createdAt": "2026-10-28T18:40:09.300Z",
"expiresAt": "2026-11-18T18:40:09.300Z"
},
"url": "https://validfile.ca/depot#Q2xhaXJlLWV0LW5ldHRl…"
}