Last updated 22 days ago
Return contents of the files in plain string format
/attachments/{chatflowId}//{chatId}
Chatflow ID
Chat ID
Files to be uploaded
Attachments created successfully
Invalid input provided
Chatflow or ChatId not found
Validation error
Internal server error
curl -L \ --request POST \ --url '/attachments/{chatflowId}/{chatId}' \ --header 'Authorization: Bearer JWT' \ --header 'Content-Type: multipart/form-data' \ --data '{"files":[null]}'
[ { "name": "text", "size": "text", "mimeType": "text", "content": "text" } ]