Skip to content

Generate a pre-signed S3 URL for uploading a branding asset (logo, favicon, og-image).

POST
/status_page/{status_page_id}/branding/upload
curl --request POST \
--url https://api.siteqwality.com/status_page/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/branding/upload \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "file_type": "logo", "content_type": "example", "file_size_bytes": 1 }'
status_page_id
required
string format: uuid

Status page identifier

Media type application/json
object
file_type
required
string
Allowed values: logo favicon og_image
content_type
required
string
file_size_bytes
required
integer format: int64

Pre-signed upload URL

Media type application/json
object
upload_url
required
string
s3_key
required
string
expires_in_seconds
required
integer format: int32
Example generated
{
"upload_url": "example",
"s3_key": "example",
"expires_in_seconds": 1
}

Invalid request body

Missing or invalid authentication

Internal server error