Upload Files

post
Upload file to backend (used for Record and Action pages)

https://YOUR_JET_BRIDGE_HOSTNAME/jet_api/file_upload/
Request should be made as multipart/form-data
Request
Response
Request
Headers
Authorization
optional
string
Token authentication, example: Authorization: Token f42a3cab3f146b283701a4e314f1c7ba57fdb59e
Body Parameters
file
required
object
File content
path
required
string
Path where file should be saved, i.e. tickets/attachment actions/send_mails/banner
filename
optional
string
Custom filename, filename of "file" is used by default
Response
200: OK
{
"uploaded_path": "tickets/attachment/resume.docx",
"uploaded_url": "https://example.com/uploads/tickets/attachment/resume.docx"
}

‚Äč