Update a chat
/chats/{chatId}Sets chat state (open/closed) on an Apple Messages for Business chat. Chats on every other channel return 422 state_not_writable: closed reflects the customer ending an Apple Messages for Business conversation, and no other protocol has an equivalent.
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.
ContactSummary
What the other side of the chat has told Blooio it supports. On Apple Messages for Business, amb_capability_list is the capability-list Apple stamped on the customer's latest inbound message (QUICK, LIST, TIME, AUTH, AUTH2, FORM); prefer supported_interactive_kinds, which is derived from it.
What the other side of the chat has told Blooio it supports. On Apple Messages for Business, amb_capability_list is the capability-list Apple stamped on the customer's latest inbound message (QUICK, LIST, TIME, AUTH, AUTH2, FORM); prefer supported_interactive_kinds, which is derived from it.
Apple Messages for Business only: the interactive.kind values the customer's device can render, so you can choose a kind before composing instead of meeting 422 amb_capability_unavailable at send time. apple_pay and imessage_app are always listed (Apple gates neither by capability). Until the customer's device has reported a capability list, every kind is listed.
Sends a live request with your values and shows the real response below. Your key is stored only in this browser.
curl -X PATCH https://api.blooio.com/v4.1/chats/chat_a1b2c3d4 \{ "data": { "id": "chat_a1b2c3d4", "channel_id": "ch_a1b2c3d4", "channel_type": "blooio", "contact_id": "ct_a1b2c3d4", "identity_id": "idn_a1b2c3d4", "group_id": "grp_a1b2c3d4", "contact": { "contact_id": "ct_a1b2c3d4", "identifier": "+15551234567", "name": "Jane Doe" }, "group": { "group_id": "grp_a1b2c3d4", "name": "Jane Doe" }, "state": "open", "capabilities": { "amb_capability_list": [ "QUICK" ] }, "supported_interactive_kinds": [ "quick_reply" ], "window_expires_at": 0, "last_message_at": 0, "created_at": 0 }}