Chatsv4
Set chat background
PUT
/chats/{chatId}/backgroundUploads a chat background image. Max 10MB; image/jpeg|png|gif|webp|heic|heif. Blooio channels only.
Path parameters
chatIdRequiredstringUnique identifier of the chat, prefixed with chat_. Returned by the List chats endpoint.
Headers
AuthorizationRequiredstringYour 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-databackgroundRequiredstringReturns
dataoptionalobject
dataoptionalobjectchat_idoptionalstringbackground_idoptionalstringbackground_urloptionalstring | nullResponse 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.
curl -X PUT https://api.blooio.com/v4/chats/chat_a1b2c3d4/background \ -H "Authorization: Bearer bl_live_..." \ -F "file=@/path/to/file"{ "data": { "chat_id": "chat_a1b2c3d4", "background_id": "obj_a1b2c3d4", "background_url": "https://example.com" }}