Attachments

Create attachments array

post

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

Responses
200
Attachments created successfully
application/json
post
POST /attachments/{chatflowId}/{chatId} HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: multipart/form-data
Accept: */*
Content-Length: 20

{
  "files": [
    "binary"
  ]
}
[
  {
    "name": "text",
    "mimeType": "text",
    "size": "text",
    "content": "text"
  }
]

Last updated