Create a temporary upload URL
post
/public/v1/temporary-upload-urlsReturns an upload_url and an id without receiving the file. Send the file's bytes
as the body of a PUT request to upload_url before upload_url_expires_at, with the
file's type as its Content-Type. Then attach the upload to other resources by passing
its id in a JSON request body before expires_at, exactly as with an upload made by
Create a temporary upload. The endpoint you attach it to checks the file against its
own size and type limits, and refuses an id whose file never arrived.
Body
application/jsonfilenamestringrequiredmax length 255
Response
201application/jsonTemporaryUploadUrlResource
dataobjectrequired▶Show 5 child attributesHide child attributes
idstringrequiredExample:d1c2e3f4-a5b6-47c8-9d0e-1f2a3b4c5d6efilenamestringrequiredExample:service-agreement.pdfupload_urlstringrequiredExample:https://storage.example.com/uploads/tmp/d1c2e3f4.pdf?X-Amz-Signature=...upload_url_expires_atstringrequiredExample:2024-01-16T10:30:00+00:00expires_atstringrequiredExample:2024-01-16T10:35:00+00:00
401Unauthenticated403Authorization error422Validation error