Teachfloor
stringstringstringstring · requiredstringobject
Upload a file
POST
https://api.teachfloor.com
/v0/uploads
Uploads a file to your organization's storage. Returns the public URL of the uploaded file. The returned URL can be used to set element properties such as video_url, scorm_url, file, or avatar.
Headers
AuthorizationContent-TypeAcceptUpload a file › Request Body
fileThe file to upload. Supports images (jpg, jpeg, png, webp, svg, gif), documents (pdf, doc, docx, xls, xlsx, ppt, pptx, csv, txt), audio (mp3, wav, ogg), video (mp4, webm, mov), archives (zip), and SCORM packages. Max 100MB. Must be a file. Must not be greater than 102400 kilobytes.
Upload a file › Responses
200
errorpayload