Attachments
Return contents of the files in plain string format
Authorizations
Path parameters
chatflowIdstringRequired
Chatflow ID
chatIdstringRequired
Chat ID
Body
filesstring · binary[]Required
Files to be uploaded
base64booleanOptionalDefault:
Return contents of the files in base64 format
false
Responses
200
Attachments created successfully
application/json
400
Invalid input provided
404
Chatflow or ChatId not found
422
Validation error
500
Internal server error
post
POST /attachments/{chatflowId}/{chatId} HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: multipart/form-data
Accept: */*
Content-Length: 35
{
"files": [
"binary"
],
"base64": false
}
[
{
"name": "text",
"mimeType": "text",
"size": "text",
"content": "text"
}
]
Last updated