API referenceConversations
Create Support Conversation
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.
application/json- body
subject?string|nullchannel?ConversationChannelDefault
"manual"Value in
"widget""email""whatsapp""api""manual""messenger""instagram"priority?ConversationPriorityDefault
"normal"Value in
"low""normal""high""urgent"folder_id?string|nullcategory_id?string|nullcustomer_id?string|nullassigned_agent_id?string|nullassigned_user_id?string|nulltags?array<string>|nullmetadata?|nullwhatsapp_account_id?string|nullchannel_thread_key?string|nullcustomer?|nullinitial_message?string|nullSuccessful Response
application/json- response
id*Idorganization_id*Organization Idsubject?string|nullstatus*ConversationStatusValue in
"open""assigned""pending""resolved""closed"priority*ConversationPriorityValue in
"low""normal""high""urgent"channel*ConversationChannelValue in
"widget""email""whatsapp""api""manual""messenger""instagram"customer_id?string|nullwhatsapp_account_id?string|nullmeta_account_id?string|nullchannel_thread_key?string|nullfolder_id?string|nullcategory_id?string|nullassigned_agent_id?string|nullassigned_user_id?string|nulltags?array<string>|nullmessage_count?Message CountDefault
0unread_count?Unread CountDefault
0last_message_preview?string|nulllast_message_at?|nulllast_message_sender?|nullcsat_score?number|nullfirst_response_at?|nullcreated_at*Created AtFormat
date-timeupdated_at?|nullresolved_at?|nullclosed_at?|nullextra_metadata?|nulltransferred_to?|nullai_paused?Ai PausedDefault
falseai_pause_reason?string|nullneeds_human?Needs HumanDefault
falsehandoff?|nullcustomer?|nullfolder?|nullcategory?|nullparticipants?array<>|nullassigned_user_name?string|nullcurl -X POST 'https://api.luso8.rexplore.ai/api/v1/support-chat/conversations' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "id": "string", "organization_id": "string", "subject": "string", "status": "open", "priority": "low", "channel": "widget", "customer_id": "string", "whatsapp_account_id": "string", "meta_account_id": "string", "channel_thread_key": "string", "folder_id": "string", "category_id": "string", "assigned_agent_id": "string", "assigned_user_id": "string", "tags": [ "string" ], "message_count": 0, "unread_count": 0, "last_message_preview": "string", "last_message_at": "2019-08-24T14:15:22Z", "last_message_sender": "customer", "csat_score": 0, "first_response_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "resolved_at": "2019-08-24T14:15:22Z", "closed_at": "2019-08-24T14:15:22Z", "extra_metadata": {}, "transferred_to": {}, "ai_paused": false, "ai_pause_reason": "string", "needs_human": false, "handoff": {}, "customer": { "name": "string", "email": "string", "phone": "string", "company": "string", "job_title": "string", "location": "string", "timezone": "string", "language": "string", "avatar_url": "string", "custom_attributes": {}, "tags": [ "string" ], "id": "string", "organization_id": "string", "browser": "string", "os": "string", "device": "string", "ip_address": "string", "current_page_url": "string", "contact_id": "string", "first_seen_at": "2019-08-24T14:15:22Z", "last_seen_at": "2019-08-24T14:15:22Z", "total_conversations": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "folder": { "name": "string", "description": "string", "color": "string", "icon": "string", "sort_order": 0, "id": "string", "organization_id": "string", "is_default": false, "conversation_count": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "category": { "name": "string", "description": "string", "color": "string", "icon": "string", "sort_order": 0, "id": "string", "organization_id": "string", "is_active": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "participants": [ { "id": "string", "conversation_id": "string", "user_id": "string", "user_name": "string", "user_email": "string", "role": "owner", "joined_at": "2019-08-24T14:15:22Z", "last_read_at": "2019-08-24T14:15:22Z" } ], "assigned_user_name": "string"}