API referenceConversations
Send Support Message
POST
Required scope: conversations:write
header
AuthorizationBearer <luso8_sk_live_<40 characters>>A workspace API key, sent as Authorization: Bearer <key>. Create keys in Settings → Developers → API keys.
conversation_id*Conversation Idapplication/json- body
content?ContentDefault
""sender_type?MessageSenderTypeDefault
"agent"Value in
"customer""agent""ai""system"message_type?MessageTypeDefault
"text"Value in
"text""note""attachment""system"is_internal?Is InternalDefault
falseattachments?array<>|nullsender_agent_id?string|nullai_metadata?|nullSuccessful Response
application/json- response
id*Idconversation_id*Conversation Idsender_type*MessageSenderTypeValue in
"customer""agent""ai""system"sender_user_id?string|nullsender_agent_id?string|nullsender_contact_id?string|nullmessage_type*MessageTypeValue in
"text""note""attachment""system"content*Contentattachments?array<>|nullis_internal?Is InternalDefault
falseai_metadata?|nullread_by?array<string>|nulldelivery_status?string|nullextra_data?|nullsender?|nullcreated_at*Created AtFormat
date-timeupdated_at?|nulledited_at?|nullcurl -X POST 'https://api.luso8.rexplore.ai/api/v1/support-chat/conversations/string/messages' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "id": "string", "conversation_id": "string", "sender_type": "customer", "sender_user_id": "string", "sender_agent_id": "string", "sender_contact_id": "string", "message_type": "text", "content": "string", "attachments": [ {} ], "is_internal": false, "ai_metadata": {}, "read_by": [ "string" ], "delivery_status": "string", "extra_data": {}, "sender": { "id": "string", "name": "string", "email": "string", "avatar_url": "string", "type": "customer" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "edited_at": "2019-08-24T14:15:22Z"}