Upload File
Generate presigned URLs that let you upload files directly to our storage and allow your users to download them securely.
Headers
PINNACLE-API-KEY
Request
This endpoint expects an object.
contentType
MIME type of your file. <br>
Supported file types:
- Audio: mp3, mp4, mpeg, ogg, aac, webm, wav, 3gpp, amr
- Video: mp4, mpeg, quicktime, webm, 3gpp, H.264, m4v
- Image: jpeg, png, gif, bmp, tiff, webp
- Documents: pdf, csv, rtf, calendar, vcard
size
Size of your file in bytes. Should be less than 100 MB.
name
Name of your file.
options
Additional configurations for your file.
Response
Successfully uploaded the file.
uploadUrl
Presigned URL for uploading your file to storage.
downloadUrl
Presigned URL for downloading your file.
metadata