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

id uuid required
The delivery, as POST /deliveries returned it.

What the response holds · 200

dropLink dropLink | null
The link, or null if the campaign has none, or if its own was removed in ValidFile.

The fields of dropLink

id uuid
The link. A new link of the same campaign has another id.
state string
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 and url is null.
open full paused expired cut maker_left
maxFiles integer
Its ceiling: how many files it may take in all.
used integer
The files it has taken. A file your client withdrew still counts; a copy of a file already in the delivery does not.
access string
code: 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.
link code
origin string
Who made it: an API key (api), or a person of the agency in ValidFile (agency).
api agency
createdAt date-time
When it was made.
expiresAt date-time
When it stops taking files.
url uri | null
Its address, for a key whose scope includes the drop links, while the link is neither cut, nor expired, nor maker_left. null for any other key: a key that reads knows where the link stands, not where it is.

Errors

404not_foundA 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…"
}