Solved

Import a message in an existing conversation using the API

  • 23 May 2023
  • 1 reply
  • 77 views

Badge +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

icon

Best answer by jason 23 May 2023, 17:30

View original

1 reply

Userlevel 4
Badge +8

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

Reply