Skip to Content
API referenceConversations

Send Inbox Message

POST
/api/v1/engage-inbox/messages

Send an outbound message, creating a new conversation if needed.

Required scope: conversations:write

Authorization

headerAuthorizationBearer <luso8_sk_live_<40 characters>>

A workspace API key, sent as Authorization: Bearer <key>. Create keys in Settings → Developers → API keys.

Request Body

application/json
  1. body
content?string|null
html_content?string|null
content_type?Content Type
Default"text"
attachments?array<>|null
direction?EngageMessageDirection
Default"outbound"
Value in"inbound""outbound"
sender_type?EngageSenderType
Default"user"
Value in"user""contact""ai""system"
sender_user_id?string|null
sender_contact_id?string|null
sender_display_name?string|null
channel_message_id?string|null
campaign_execution_id?string|null
call_session_id?string|null
appointment_id?string|null
is_ai_generated?Is Ai Generated
Defaultfalse
is_note?Is Note
Defaultfalse
extra_data?|null
conversation_id?string|null
channel?|null
contact_id?string|null
subject?string|null
whatsapp_account_id?string|null
meta_account_id?string|null
include_signature?boolean|null

Response Body

Successful Response

application/json
  1. response
content?string|null
html_content?string|null
content_type?Content Type
Default"text"
attachments?array<>|null
direction?EngageMessageDirection
Default"outbound"
Value in"inbound""outbound"
sender_type?EngageSenderType
Default"user"
Value in"user""contact""ai""system"
sender_user_id?string|null
sender_contact_id?string|null
sender_display_name?string|null
channel_message_id?string|null
campaign_execution_id?string|null
call_session_id?string|null
appointment_id?string|null
is_ai_generated?Is Ai Generated
Defaultfalse
is_note?Is Note
Defaultfalse
extra_data?|null
id*Id
conversation_id*Conversation Id
organization_id*Organization Id
status*EngageMessageStatus
Value in"draft""queued""sent""delivered""read""failed"
sent_at?|null
delivered_at?|null
read_at?|null
created_at*Created At
Formatdate-time
Example Request
curl -X POST 'https://api.luso8.rexplore.ai/api/v1/engage-inbox/messages' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "content": "string",  "html_content": "string",  "content_type": "text",  "attachments": [    {}  ],  "direction": "inbound",  "sender_type": "user",  "sender_user_id": "string",  "sender_contact_id": "string",  "sender_display_name": "string",  "channel_message_id": "string",  "campaign_execution_id": "string",  "call_session_id": "string",  "appointment_id": "string",  "is_ai_generated": false,  "is_note": false,  "extra_data": {},  "id": "string",  "conversation_id": "string",  "organization_id": "string",  "status": "draft",  "sent_at": "2019-08-24T14:15:22Z",  "delivered_at": "2019-08-24T14:15:22Z",  "read_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z"}