T
Typebot4mo ago
sayden

Send multiples files in a multiple file input using API

I would like to know how to send several files using the API, I'm doing it this way and it's not working
No description
6 Replies
Hall
Hall4mo ago
Someone will reply to you shortly. In the meantime, this might help: -# This post was marked as solved by Baptiste. View answer.
Baptiste
Baptiste4mo ago
It needs to look like:
{
"message": {
"type": "text",
"text": "https://url1, https://url2",
"attachedFileUrls": ["https://url1", "https://url2"]
}
}
{
"message": {
"type": "text",
"text": "https://url1, https://url2",
"attachedFileUrls": ["https://url1", "https://url2"]
}
}
I agree, it is not well documented
sayden
saydenOP4mo ago
this returns this error
No description
sayden
saydenOP4mo ago
my input block
No description
Baptiste
Baptiste4mo ago
text should be: https://url1, https://url2. I've editted my prev answer
sayden
saydenOP4mo ago
This worked, thanks!

Did you find this page helpful?