reply to a ticket on behalf of a contact using Rest API doesn't work | Community
Skip to main content
Answered

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

  • August 29, 2023
  • 2 replies
  • 136 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.

Best answer by Racheal

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

2 replies

Racheal
Intercom Team
Forum|alt.badge.img+5
  • Customer Support Engineer
  • August 31, 2023

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. 👍 


Racheal
Intercom Team
Forum|alt.badge.img+5
  • Customer Support Engineer
  • Answer
  • September 1, 2023

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