Skip to content

Update or create a branding asset blob. Requires admin authorization.

POST
/xrpc/place.stream.branding.updateBlob
curl --request POST \
--url https://example.com/xrpc/place.stream.branding.updateBlob \
--header 'Content-Type: application/json' \
--data '{ "key": "example", "broadcaster": "example", "data": "example", "mimeType": "example", "width": 1, "height": 1 }'
Media typeapplication/json
object
key
required

Branding asset key (mainLogo, favicon, siteTitle, etc.)

string
broadcaster

DID of the broadcaster. If not provided, uses the server’s default broadcaster.

string format: did
data
required

Base64-encoded blob data

string
mimeType
required

MIME type of the blob (e.g., image/png, text/plain)

string
width

Image width in pixels (optional, for images only)

integer
height

Image height in pixels (optional, for images only)

integer

Example generated

{
"key": "example",
"broadcaster": "example",
"data": "example",
"mimeType": "example",
"width": 1,
"height": 1
}

Success

Media typeapplication/json
object
success
required
boolean

Example generated

{
"success": true
}

Bad Request

Media typeapplication/json
object
error
required
One of:
string
Allowed value: Unauthorized
message
required
string

Example

{
"error": "Unauthorized"
}