Skip to main content
ograu
Conversationalist
February 8, 2024
Solved

Replying to moved conversation

  • February 8, 2024
  • 2 replies
  • 541 views

Hey,

Is it possible when using the Create message reply endpoint to change the ‘from’ field?

This is our use case:

  • We receive an email from a client to a personal inbox
  • We move it to a team inbox using Update conversation endpoint
  • We reply to it using Create message reply endpoint

I’d like the ‘from’ address to be the one in the new inbox I moved the conversation to, but instead, the message is sent from the personal email that received the first message.

How can I accomplish this? 

 

Thanks!

    Best answer by justin

    Hi Ograu!

    Yes, for the Create message reply endpoint there is an optional body parameter called channel_id. Providing this will specify the channel the message is sent from. 

    Best, 
    Justin

    2 replies

    justin
    justinAnswer
    Fronteer
    February 8, 2024

    Hi Ograu!

    Yes, for the Create message reply endpoint there is an optional body parameter called channel_id. Providing this will specify the channel the message is sent from. 

    Best, 
    Justin

    ograu
    ograuAuthor
    Conversationalist
    February 12, 2024

    Just tested it, channel_id does the trick, yes. Thanks @justin! 🤗