v1
latestOpenAPI 3.1.02026-07-24318141.2 MBSend a Custom Chat Message
Send a custom message to a chat room. This can be used to send rich data as a chat message that can be interpreted by the SDK to perform some action or display additional content.
post/{chat_room_id}/custom-messages/
Path parameters
chat_room_idstring required
Chat Room ID
Request body
Response
201
Example response
{
"id": "9709cc92-83b3-4e32-b2d0-9029b2f2a0d8",
"chat_room_id": "1b494165-188f-4e16-9766-ac1d1f1ac925",
"sender_id": "c8d2922f-8324-4a9a-97f6-88851c53d331",
"sender_nickname": "Gautam Aggarwal",
"sender_profile_url": "https://cf-blast.livelikecdn.com/api/v1/profiles/c8d2922f-8324-4a9a-97f6-88851c53d331/",
"created_at": "2021-09-16T12:24:32.423815+00:00",
"custom_data": "{\"text\": \"This is a custom chat message\"}"
}