cURL
curl -X POST "https://api.smooth.sh/api/v1/file" \ -H "apikey: YOUR_API_KEY" \ -F "file=@/path/to/your/file.pdf" \ -F "file_purpose=invoice document"
{ "r": { "id": "<string>" } }
Upload a file to be used by tasks. Files can be passed to tasks via the files parameter.
files
The file to upload.
Optional description of the file's purpose (max 64 characters).
File successfully uploaded.
Response model for file upload.
Show child attributes