/rooms
Upload room logo.
Room name.
/room-prefix-793e9ec1-c686-423d-9043-9b7a10c553fd
The logo image. We recommend PNG images at least 400px wide.
The logo was saved successfully.
Access token is missing or invalid
You are rate limited
PUT /v1/rooms/{roomName}/theme/logo HTTP/1.1
Host: api.whereby.dev
Content-Type: multipart/form-data
Accept: */*
Content-Length: 18
{
"image": "binary"
}
No content
Set primary, secondary and focus room colors.
Room name.
/room-prefix-793e9ec1-c686-423d-9043-9b7a10c553fd
Use the given primary or secondary colors when custom
. Use organization defaults when default
or not defined.
The tokens were saved successfully.
Access token is missing or invalid
You are rate limited
PUT /v1/rooms/{roomName}/theme/tokens HTTP/1.1
Host: api.whereby.dev
Content-Type: application/json
Accept: */*
Content-Length: 98
{
"tokens": {
"colors": {
"primary": "text",
"secondary": "text",
"focus": "text"
}
},
"tokensPreset": "custom"
}
No content
Use FormData to upload a custom background image. JSON objects can be used to set Whereby provided defaults.
Room name.
/room-prefix-793e9ec1-c686-423d-9043-9b7a10c553fd
Set a custom image as background.
The background image. We recommend PNG images at least 1400px wide (max 600 kb).
The background image was saved successfully.
Access token is missing or invalid
You are rate limited
PUT /v1/rooms/{roomName}/theme/room-background HTTP/1.1
Host: api.whereby.dev
Content-Type: multipart/form-data
Accept: */*
Content-Length: 18
{
"image": "binary"
}
No content
Use FormData to upload a custom knock background image. JSON objects can be used to set Whereby provided defaults.
Room name.
/room-prefix-793e9ec1-c686-423d-9043-9b7a10c553fd
Set a custom image as knock page background.
The knock page background image. We recommend PNG images at least 1400px wide (max 600 kb).
The knock page background image was saved successfully.
Access token is missing or invalid
You are rate limited
PUT /v1/rooms/{roomName}/theme/room-knock-page-background HTTP/1.1
Host: api.whereby.dev
Content-Type: multipart/form-data
Accept: */*
Content-Length: 18
{
"image": "binary"
}
No content
Last updated
Was this helpful?