/developers
Developer docsAtom Files ↗
← API referenceWrite & track · API access unavailable
API REFERENCE / UPLOADS

POST /v1/uploads/{operation_id}/finish

The sender says it has finished the assigned transfer. Atom moves the operation into destination verification; this call alone never asserts that the file is available.

Request fields

LocationFieldTypeRequiredDescription
HeaderAuthorizationstringYesCredential scoped to the authorized resource.
Pathoperation_idstringYesOperation returned by create upload.

Request example

Example request
POST /v1/uploads/op_456/finish
Authorization: Bearer <scoped token>

HTTP status codes

StatusMeaning
202 AcceptedSuccess response shown below.
401 UnauthorizedMissing, expired, or invalid credential.
403 ForbiddenCredential is valid but lacks the required scope or role.
404 Not FoundOperation does not exist or is not visible to this caller.
409 ConflictOperation cannot be finished in its current state.
429 Too Many RequestsRate limit reached; honor Retry-After when provided.
503 Service UnavailableService temporarily unavailable; retry safely.

Response fields

FieldTypeExample
operation_idstringop_456
statusstringverifying

Response example

Example response
202 Accepted
Content-Type: application/json

{
  "operation_id": "op_456",
  "status": "verifying"
}

How it works

Path parameteroperation_idThe ID returned by POST /v1/uploads.
Retry behaviorRepeating finish for the same operation must be safe. Inspect operation status after an ambiguous response.
Success meaningTransfer report accepted; wait for a destination receipt before treating the file as available.

Request shape, HTTP status codes, and receipt format remain unspecified.