Chatsv4.1
Find or create a chat
POST
/chatsFinds or creates a 1:1 chat with a recipient on a channel. Returns the chat (with created indicating whether it was newly created).
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
200Existing chat
201Created chat
401Your API key is missing or invalid. Pass it as a bearer token.
422Validation failed — one or more fields in the request are invalid or missing.
Sends a live request with your values and shows the real response below. Your key is stored only in this browser.
curl -X POST https://api.blooio.com/v4.1/chats \{ "id": "obj_a1b2c3d4", "channel_id": "ch_a1b2c3d4", "channel_type": "blooio", "contact_id": "ct_a1b2c3d4", "identity_id": "idn_a1b2c3d4", "state": "open", "created": false}