Skip to main content

Get Upload

Retrieve details for a specific upload.

Endpoint

GET /v2/{team_id}/project/{project_id}/upload/{upload_id}

Authentication

This endpoint requires an API key with the upload.read scope.

Request Parameters

ParameterTypeRequiredDescription
team_idStringYesThe ID of the team
project_idStringYesThe ID of the project
upload_idStringYesThe ID of the upload to get

Example Request

curl -X GET \
'https://api.send.ai/v2/team_123456/project/proj_123456/upload/upl_abcdef123456' \
-H 'Authorization: Bearer YOUR_API_KEY'

Response

{
"payload": {
"id": "upl_abcdef123456",
"name": "Invoice-2023-001",
"status": "IN_REVIEW",
"files": {},
"meta": [
{
"name": "reference",
"value": "INV-2023-001"
},
{
"name": "customer",
"value": "Acme Corp"
}
],
"folder_id": "folder_123456",
"created_at": "2023-06-15T10:30:00Z"
}
}

Response Parameters

ParameterTypeDescription
idstringUnique identifier for the upload
namestringThe name of the upload
statusstringCurrent status of the upload
filesobjectInformation about associated files
metaarrayArray of metadata key-value pairs
folder_idstringID of the folder containing the upload
created_atstringISO timestamp of when the upload was created

Error Codes

Status CodeDescription
400Bad request, check your request parameters
401Unauthorized, check your API key
403Forbidden, you don't have access to this upload
404Not found, the specified upload does not exist
500Server error, please try again later

Next: Error Handling →