Skip to main content
POST
/
v2
/
workflows
/
{workflow_id}
/
upload
curl -X POST 'https://api.anyformat.ai/v2/workflows/550e8400-e29b-41d4-a716-446655440000/upload/' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -F 'file=@/path/to/document.pdf'
{
  "status": "uploaded",
  "filename": "document.pdf"
}
Upload a file to a workflow without immediately running processing. This is useful when you want to batch upload files and process them later.
curl -X POST 'https://api.anyformat.ai/v2/workflows/550e8400-e29b-41d4-a716-446655440000/upload/' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -F 'file=@/path/to/document.pdf'
{
  "status": "uploaded",
  "filename": "document.pdf"
}

Headers

authorization
string | null

Path Parameters

workflow_id
string
required

Body

multipart/form-data
file
string | null
text
string | null

Response

Successful Response

POST /workflows/{id}/upload/ — upload confirmation.

status
string
required
filename
string | null