Skip to main content
Answered

Unable to create note- getting 404 error

  • December 9, 2020
  • 3 replies
  • 144 views

Hi,

 

I've mostly managed to navigate the Intercom API without issues. However, I'm struggling to create a note. (I'm using Python, but can replicate the issue with curl.)

 

curl https://api.intercom.io/contacts/5f908d5b37fbb4bceed4c97a/note-X POST -H 'Authorization:Bearer *snip*' -H 'Accept:application/json' -d 

 

{

 "body": "Shiny",

 "admin_id": "*snip*"

}

 

And I get a 404. Basically, https://api.intercom.io/contacts/lt;intercomid>/note doesn't seem to exist.

 

If I change the URL to https://api.intercom.io/contacts/lt;intercomid>/notes then I get a different error - 400, "Body can't be nil"

 

I am on the latest version (2.3) of the API.

 

Can anyone help please?

 

Thanks

Robert

Best answer by Roy

Hello @robert s12​ 👋 , There is a mistake in the API documentation, there should be "notes" instead of a "note".

Just change the request URL - https://api.intercom.io/contacts/id/b>notes.

 

Let me know if that works

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

3 replies

  • Author
  • New Participant
  • 2 replies
  • December 9, 2020

OK... I think I've solved the problem. It seems to work if I don't pass the admin_id field.

 

Which is fine...


Forum|alt.badge.img+5
  • Expert User
  • 1152 replies
  • Answer
  • December 9, 2020

Hello @robert s12​ 👋 , There is a mistake in the API documentation, there should be "notes" instead of a "note".

Just change the request URL - https://api.intercom.io/contacts/id/b>notes.

 

Let me know if that works


  • Author
  • New Participant
  • 2 replies
  • December 10, 2020

Working fine now ,thanks!


Reply


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