Skip to main content

Get an upload

Getting an upload returns its status and its files.

GET https://api.send.ai/v2/{team_id}/project/{project_id}/upload/{upload_id}

Scope: Uploads › Read.

Request​

The query parameter include_base64=true adds the content of every file, encoded as base64. Without it, base64 is null.

curl "https://api.send.ai/v2/tK3vQ9xLm2Rf8WbN0aZp/project/p3irz/upload/upld_7Hq2LmX9aB3cD4eF5gH" \
-H "Authorization: Bearer $SENDAI_API_KEY"

Response​

{
"payload": {
"id": "upld_7Hq2LmX9aB3cD4eF5gH",
"name": "Order 4471",
"status": "IN_REVIEW",
"warning_type": null,
"created_at": "2026-11-02T09:12:00.000Z",
"processed_at": null,
"export_failed_at": null,
"folder_id": "f2Kd81mQ",
"meta": [{ "name": "customer", "value": "Acme" }],
"files": [{ "id": "dXy81", "name": "order-4471.pdf", "content_type": "application/pdf", "base64": null }]
}
}

Status​

The status of an upload is one of three:

  • PROCESSING: Send AI is still working on the documents of the upload.
  • IN_REVIEW: Nothing is processing, but a document waits for a person or failed, the upload is held in the Inbox, or an action failed. An action that failed also sets export_failed_at.
  • COMPLETED: Every document is done and every action succeeded. The upload is in Processed, or in the folder or Bin its route chose, and processed_at is set.

warning_type explains an upload that was not processed: POTENTIAL_DUPLICATE_UPLOAD, ALL_ATTACHMENTS_FILTERED or AUTOMATIC_REPLY.

The response does not list the tasks of the upload. Notifications carry the task IDs, and Get the tree of a task shows the others.

Errors​

StatusErrorCause
404Upload not foundThe upload does not exist, or has not arrived yet.