Answered

reply to a ticket on behalf of a contact using Rest API doesn't work

  • 29 August 2023
  • 2 replies
  • 84 views

According to the API documentation, something like this should work

POST

{

    "message_type": "comment",

    "type": "user",

    "body":"<h1>hello world</h1>",

    "intercom_user_id":""

}

but instead I get a "user is an invalid value for type" error - even though the API explicitly says that it is. I do note that the page linked only has an admin note reply as an option in the dropdown. Does that mean that it is not possible to post a reply on behalf of a user? 

 

Would appreciate any help here.

icon

Best answer by Racheal 1 September 2023, 16:45

View original

2 replies

Userlevel 4
Badge +5

Hey @Shashwat Racheal from the support engineer team here👋 

 

I’m seeing the same thing on my end. I can see you’ve opened up a support conversation, I think it’d be helpful for the team to take a better look there. They will be with you as soon as they can! I’ll update this post when we get you sorted as well. 👍 

Userlevel 4
Badge +5

Quick update for future viewers, this is an issue on our end that we have logged for the team to investigate. In the meantime, you can reply using the reply to a conversations endpoint as a workaround using the Ticket_ID in place of the Conversation_ID

Reply