Skip to main content
Answered

Create Note API - Not working

  • September 24, 2020
  • 4 replies
  • 71 views

I’m Trying to create a note through API but I keep geting the folowing error:

{

 

"type": "error.list",

 

"request_id": "00004sf7lmss99tebltg",

 

"errors": [

 

{

 

"code": "parameter_invalid",

 

"message": "Body can't be nil"

 

}

 

]

 

}

I also noticed that the documentation URL is wrong, ‘note’ should be “notes”

API Call:

$ curl https://api.intercom.io/contacts/id/note

-X POST

-H 'Authorization:Bearer ’

-H ‘Accept:application/json’ -d

{

“body”: “Shiny”,

“admin_id”: “12345”

}

Best answer by Roy

@user345​ , Yes there definitely should be "notes".

 

But it's working from me.

=========================

Authorization: Bearer

Host: api.intercom.io

Accept: application/json

Content-Type: application/json

Content-Length: 46

{

 "body": "Shiny",

 "admin_id": "12345"

}

=========================

Shiny noTes

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

4 replies

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

@user345​ , Yes there definitely should be "notes".

 

But it's working from me.

=========================

Authorization: Bearer

Host: api.intercom.io

Accept: application/json

Content-Type: application/json

Content-Length: 46

{

 "body": "Shiny",

 "admin_id": "12345"

}

=========================

Shiny noTes


Forum|alt.badge.img+5
  • Expert User
  • 1152 replies
  • September 24, 2020

Let's tag @Jack Jenkins​ , to change the note to notes 😎


Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • 1630 replies
  • September 25, 2020

Nice one looping in someone from the Intercom team, @roy s11​! Just so you know, Jack looks after our Help Center, but not our developer docs - I've asked the team that does, though, to make this change!


Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • 1630 replies
  • September 25, 2020

That's been corrected now - for future reference @roy s11​ and @user345​, each section in our Developer Docs has a Suggest Edits button so that you can submit your own suggested changes 🙌


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