Links
Comment on page

Files

You can use the API to get or upload binary files.
post
https://api.tiledesk.com/v3
/files/users
Upload a user file
Example:
curl -v -X POST -H 'Content-Type: multipart/form-data' -u [email protected]:123456 -F file=@/Users/andrealeo/dev/chat21/tiledesk-server-dev-org/README.md https://api.tiledesk.com/v3/files/users
get
https://api.tiledesk.com/v3
/files
Get the binary file as stream by filename path
Example
curl -v -X GET -H -u [email protected]:123456 https://api.tiledesk.com/v3/files?path=uploads/users/5ebd890292befe0019054973/files/27a8e524-d854-4aff-a6c7-84cb02681f34/README.md
get
https://api.tiledesk.com/v3
/files/download
Download the binary file by filename path
Example
curl -v -X GET -H -u [email protected]:123456 https://api.tiledesk.com/v3/files/download?path=uploads/users/5ebd890292befe0019054973/files/27a8e524-d854-4aff-a6c7-84cb02681f34/README.md
Last modified 13d ago