Skip to main content
Answer

Import a message in an existing conversation using the API

  • May 23, 2023
  • 1 reply
  • 120 views

Forum|alt.badge.img+1

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
  • 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