Files
Upload an image to use as a custom logo. Custom logos need a Pro or Premium plan.
POST/rooms/{room_id}/files
Upload an image
Send the raw image as the request body, with its type in Content-Type: PNG, JPEG, WebP or SVG, at most 3 MB. The response has the URL the image is served from. To use it as the room's logo, send it as logo when you update the room.
Path parameters
- Name
room_id- Type
- string
- Required
- Description
The room's id, from its address:
/o/ROOM_ID/….
Request
POST
/rooms/{room_id}/filescurl -X POST https://app.kloksi.com/api/v1/rooms/ROOM_ID/files \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: image/png" \
--data-binary @logo.png
Response 201
{
"ok": true,
"message": "File uploaded",
"data": {
"url": "https://app.kloksi.com/api/v1/files/F4gH5jK6lM7n"
}
}