Generate a presigned S3 PUT URL for uploading a polst image.
POST /brands/me/polsts/{slug}/images/upload-url
POST
/brands/me/polsts/{slug}/images/upload-url
Returns an S3 PUT URL the client uses to upload the binary. After the upload completes, call PATCH /brands/me/polsts/{slug} with the returned publicUrl in optionA.imageUrl or optionB.imageUrl.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” slug
required
string
Header Parameters
Section titled “Header Parameters ” X-Polst-Idempotency-Key
required
string
Idempotency key, 8–255 URL-safe chars.
Request Body required
Section titled “Request Body required ”object
slot
required
string
contentType
required
string
Responses
Section titled “ Responses ”Presigned URL.
object
data
required
object
uploadUrl
required
string format: uri
key
required
string
publicUrl
required
string format: uri
expiresIn
required
integer
method
required
string
headers
required
object
key
additional properties
string
Missing idempotency key.
Missing or invalid bearer.
Missing manage scope or no brand context.
Polst not found or not owned by brand.
Validation error.