I made an app that ends-up by posting messages within conversations... It is done with the Intercom API, but when we post a new message it appears into the agent inbox, but not into the Messenger on the visitor side… until the visitor or the agent sends a new message, then all is refreshing. Is there anything to do to make the messenger refresh when a new message comes from the API ?
Answered
API sent message does not refresh the Conversation in Messenger
Best answer by Roy
@jean-baptiste , Please make sure that you are posting an admin reply instead of the user one.
https://api.intercom.io/conversations/{existing_conversation_id}/reply
There two types of reply - User one - Once reply send by the user:
{
"message_type": "comment",
"type": "user",
"intercom_user_id": "536e564f316c83104c000020",
"body": "User Reply"
}
Admin Reply, once admin sents a reply:
{
"message_type": "comment",
"type": "admin",
"admin_id": "3998818",
"body": "Roy"
}
I just test this out, it's working fine from my end.
I think you are posting user replies instead of admin.
Can you just check this? or post a full request?
I will be happy to help
Reply
Join the Intercom Community 🎉
Already have an account? Login
Login to the community
No account yet? Create an account
Intercom Customers and Employees
Log in with SSOor
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.