Attachments

Create attachments array

Return contents of the files in plain string format

post

/attachments/{chatflowId}//{chatId}

Authorizations
Path parameters
chatflowIdstringrequired

Chatflow ID

chatIdstringrequired

Chat ID

Body
filesstring binary[]required

Files to be uploaded

Responses
curl -L \
  --request POST \
  --url '/attachments/{chatflowId}/{chatId}' \
  --header 'Authorization: Bearer JWT' \
  --header 'Content-Type: multipart/form-data' \
  --data '{"files":[null]}'
[
  {
    "name": "text",
    "mimeType": "text",
    "size": "text",
    "content": "text"
  }
]

Last updated