Skip to main content
Solved

Import a message in an existing conversation using the API

  • May 23, 2023
  • 1 reply
  • 109 views

Forum|alt.badge.img+1
  • Conversationalist
  • 1 reply

Hello,

 

How can I import a message into an existing conversation using the API ? We are trying to make a chat-like interface with which our client will send mail that should be imported through the FrontAPI

 

Thanks,

 

Best regards,

Anthony

Best answer by jason

Hi Anthony,

 

Assuming you’re using Application Channels, this is a core supported feature of the inbound/outbound message API; you’d simply set the metadata.external_conversation_id field when importing messages into Front to dictate how they should thread. (See POST channels/{channel_id}/inbound_messages REST API docs for full details).

 

Thanks

1 reply

jason
Forum|alt.badge.img+8
  • Fronteer
  • 168 replies
  • Answer
  • May 23, 2023

Hi Anthony,

 

Assuming you’re using Application Channels, this is a core supported feature of the inbound/outbound message API; you’d simply set the metadata.external_conversation_id field when importing messages into Front to dictate how they should thread. (See POST channels/{channel_id}/inbound_messages REST API docs for full details).

 

Thanks