POST /media
Get an upload ticket.
- POST the file as
multipart/form-datatourlwith every field infieldsfirst, thenfile. The ticket lasts 5 minutes. - Limits: photo 10 MB (
image/*), video 50 MB (video/*), voice 10 MB (audio/*). - Your server can hand the ticket to your user's browser: it carries no key. Browser uploads are allowed from the origins on your tenant.
{ "kind": "photo", "contentType": "image/jpeg" }201 { "key": "tenants/puq/3f…a9.jpg", "url": "https://…s3…", "fields": { … } }