API referenceConversations
Send Inbox Message
POST
Send an outbound message, creating a new conversation if needed.
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
content?string|nullhtml_content?string|nullcontent_type?Content TypeDefault
"text"attachments?array<>|nulldirection?EngageMessageDirectionDefault
"outbound"Value in
"inbound""outbound"sender_type?EngageSenderTypeDefault
"user"Value in
"user""contact""ai""system"sender_user_id?string|nullsender_contact_id?string|nullsender_display_name?string|nullchannel_message_id?string|nullcampaign_execution_id?string|nullcall_session_id?string|nullappointment_id?string|nullis_ai_generated?Is Ai GeneratedDefault
falseis_note?Is NoteDefault
falseextra_data?|nullconversation_id?string|nullchannel?|nullcontact_id?string|nullsubject?string|nullwhatsapp_account_id?string|nullmeta_account_id?string|nullinclude_signature?boolean|nullSuccessful Response
application/json- response
content?string|nullhtml_content?string|nullcontent_type?Content TypeDefault
"text"attachments?array<>|nulldirection?EngageMessageDirectionDefault
"outbound"Value in
"inbound""outbound"sender_type?EngageSenderTypeDefault
"user"Value in
"user""contact""ai""system"sender_user_id?string|nullsender_contact_id?string|nullsender_display_name?string|nullchannel_message_id?string|nullcampaign_execution_id?string|nullcall_session_id?string|nullappointment_id?string|nullis_ai_generated?Is Ai GeneratedDefault
falseis_note?Is NoteDefault
falseextra_data?|nullid*Idconversation_id*Conversation Idorganization_id*Organization Idstatus*EngageMessageStatusValue in
"draft""queued""sent""delivered""read""failed"sent_at?|nulldelivered_at?|nullread_at?|nullcreated_at*Created AtFormat
date-timecurl -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"}