Media

Create email image upload URL

Changed on

Returns an authenticated API URL for a block-ready email image. PUT the exact bytes to uploadUrl using the same API credentials, then register the key with POST /media/complete-upload. The public object does not exist until its bytes pass server-side validation.

post/media/upload-url

Request

  • Base URL
    https://api.sequenzy.com/api/v1
  • URL
    https://api.sequenzy.com/api/v1/media/upload-url
  • Auth
    HTTP bearer

Request body

filenamestring required
contentTypestring required
fileSizeBytesinteger required

Example request

{
  "contentType": "image/png"
}

Response

Upload URL created

successboolean
uploadUrlstring
publicUrlstring
keystring
fileNamestring

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      the request property's max was increased from 5242880.00 to 10485760.00