Skip to main content
Answered

Any idea why my POST request to add a tag to a conversation via Zapier doesn't work?


Patrick H12
Forum|alt.badge.img

I'm pretty new to custom API requests. I want to create a Zapier connection to send a POST request to update a conversation in Intercom to add a tag to a conversation, but I'm having issues. I suspect the issue is with the formatting of the body, but I'm not sure what I'm going wrong. I've successfully performed other GET requests, but I can't get the POST request to work.

In the image below you can see I have the following:

HTTP Method: POST
URL: https://api.intercom.io/conversations/CONVERSATION_ID/tags
Authorization: Bearer TOKEN
Accept: application/json
Body:

{
   "id": "12345",
   "name": "empty-bug-report",
   "admin_id": "123"
}

Any ideas where I might be getting this wrong?

Best answer by Fario Consulting

Hi Patrick,
Could you check that the value of the tag id is corresponding to the correct tag. 
Also could you try using a simple curl call (or something similar which would run locally on your computer) and see whether it the POST request works?

View original
Did this topic help you find an answer to your question?

4 replies

Forum|alt.badge.img+1

Hi Patrick,
Could you check that the value of the tag id is corresponding to the correct tag. 
Also could you try using a simple curl call (or something similar which would run locally on your computer) and see whether it the POST request works?


bernice
Intercom Team
Forum|alt.badge.img+5
  • Intercom Team
  • 230 replies
  • October 21, 2024

Hey @Patrick H12, welcome to Intercom Community! 👋

As @Fario Consulting added above, could you double check your IDs and try this call outside of Zapier? You could try this out in the sandbox in our Developer Documentation by clicking Try It on the right hand side 🚀


Patrick H12
Forum|alt.badge.img
  • Author
  • Connector
  • 5 replies
  • October 21, 2024

@Fario Consulting @bernice  thanks for your responses. Yes, I am able to make a curl call and update the tag outside of zapier. I’m still getting a 400 error inside of Zapier for some reason though.

I keep getting the same response:

{
  "type": "error.list",
  "request_id": "0002lbamtuqncesncd30",
  "errors": [
    {
      "code": "parameter_not_found",
      "message": "admin_id is a required parameter"
    }
  ]
}

I’ve tried with a couple of different admin_id and tag ids with the same result. 


Shaq Payne
Intercom Team
Forum|alt.badge.img+2
  • Intercom Team
  • 27 replies
  • December 30, 2024

Hey ​@Patrick H12 have you already reached out to Zapier’s support team with this evidence that this is working outside of their platform? Due to this being a third-party integration we’re limited in the support we can provide since it wasn’t built by us. Can you let us know if they are able to guide you at all? We’re happy to take a closer look with any additional insight that they are able to provide.

 

Thanks! 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings