Share feedback, ideas and get community help

Updated 3 weeks ago

Send multiples files in a multiple file input using API

At a glance

A community member is having trouble sending multiple files using an API and is looking for help. Another community member suggests that the request should look like { "message": { "type": "text", "text": "...", "attachedFileUrls": ["...", "..."] } }, but agrees that the documentation is not well-documented. An answer is provided that confirms the suggested format, but also agrees that the documentation is lacking.

I would like to know how to send several files using the API, I'm doing it this way and it's not working
Attachment
image.png
Marked as solution
It needs to look like:

Plain Text
{
  "message": {
    "type": "text",
    "text": "https://url1, https://url2",
    "attachedFileUrls": ["https://url1", "https://url2"]
  }
}


I agree, it is not well documented
View full solution
B
s
5 comments
It needs to look like:

Plain Text
{
  "message": {
    "type": "text",
    "text": "https://url1, https://url2",
    "attachedFileUrls": ["https://url1", "https://url2"]
  }
}


I agree, it is not well documented
this returns this error
Attachment
image.png
my input block
Attachment
image.png
text should be: https://url1, https://url2. I've editted my prev answer
This worked, thanks!
Add a reply
Sign up and join the conversation on Discord