intercom / intercom-go

Go Bindings For Intercom
https://developers.intercom.io/reference
Other
70 stars 78 forks source link

Add Notes Service #36

Open f2prateek opened 8 years ago

f2prateek commented 8 years ago

https://developers.intercom.io/docs/notes

choran commented 7 years ago

Hi @f2prateek Are you trying to add a note to a conversation? You can add a note via the Go SDK. have you tried this? e.g. convo, err := intercom.Conversations.Reply("1234", &admin, intercom.CONVERSATION_NOTE, "my message to just admins") This will add a note from an admin into the conversation? Let me know if this is not what you were trying to do

f2prateek commented 7 years ago

We were trying to fetch the notes from the Intercom API (List Notes for a User section).

Equivalent of this curl call:

curl https://api.intercom.io/notes?user_id=25 \
-u pi3243fa:da39a3ee5e6b4b0d3255bfef95601890afd80709 \
-H 'Accept: application/json'
choran commented 7 years ago

ok, I see what you mean now. thanks for the clarification, I will leave this open for now and update when I have more info