API Reference
English
Upload a file for use in workflows. Supports any formats supported by your workflow. Uploaded files are for the current end-user only.
cURL
curl --request POST \ --url http://{api_base_url}/files/upload \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form 'user=<string>' \ --form file='@example-file'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "size": 123, "extension": "<string>", "mime_type": "<string>", "created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "created_at": 123 }
API Key authentication.
The file to be uploaded.
User identifier.
File uploaded successfully.
Was this page helpful?