UploadFile
Upload a File and obtain an accessible file_id.
Description
Upload a file
- Uploaded files are stored in Storage and given a unique ID,
file_id
. - Using
file_id
, the action execution API (CreateItemWithItemID or ExecuteAction) can be called and saved as an attachment to the corresponding Item.
Method
POST
Request URL Format
/api/v0/files
Request Header
Content-Type : multipart/form-data
filename : File name
file : File
Request URL Sample
POST https://api.xxx.com/api/v0/files
Response Sample
{
"file_id": "59af720c0e247958c7011a88"
}