Notify the server that a presigned PUT has completed; runs processing, patches the matching theme URL column, and enqueues cleanup of any prior asset keys.
POST /brands/me/theme/assets/processed
POST
/brands/me/theme/assets/processed
Call this after the client has PUT the bytes to the uploadUrl from /assets/upload-url. The server downloads the object, sanitises / resizes / composites derivatives, uploads them under sibling keys, and atomically PATCHes the corresponding BrandTheme URL column (and logoDarkUrl when auto-generating a dark variant). Response is the updated theme DTO.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”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
key
required
string
Responses
Section titled “ Responses ”Updated theme.
object
data
required
object
radius
required
string
density
required
string
fontStack
required
string
hideWatermark
required
boolean
version
required
integer
titlePlacement
required
string
labelPlacement
required
string
labelAlign
required
string
elevation
required
string
Missing idempotency key.
Missing or invalid bearer token.
Bearer token lacks manage scope or brand context.
Uploaded S3 object not found.
Request body failed validation.