BetaThe V4 API is in beta — endpoints and functionality may change.
Chatsv4

Set chat background

PUT/chats/{chatId}/background

Uploads a chat background image. Max 10MB; image/jpeg|png|gif|webp|heic|heif. Blooio channels only.

Path parameters

chatIdRequiredstring

Unique identifier of the chat, prefixed with chat_. Returned by the List chats endpoint.

Headers

AuthorizationRequiredstring

Your API key, sent as a bearer token: Authorization: Bearer <api_key>. Editing this stays in sync with the API key box on the right.

Bearer

Body parameters

form-data
backgroundRequiredstring

Returns

dataoptionalobject
chat_idoptionalstring
background_idoptionalstring
background_urloptionalstring | null

Response codes

200Background set
400The request was malformed — check the path, query parameters, and body.
401Your API key is missing or invalid. Pass it as a bearer token.
404No chat was found with the provided `chatId`.

Sends a live request with your values and shows the real response below. Your key is stored only in this browser.

Request
curl -X PUT https://api.blooio.com/v4/chats/chat_a1b2c3d4/background \  -H "Authorization: Bearer bl_live_..." \  -F "file=@/path/to/file"
Response objectexample
{  "data": {    "chat_id": "chat_a1b2c3d4",    "background_id": "obj_a1b2c3d4",    "background_url": "https://example.com"  }}