intercom-go icon indicating copy to clipboard operation
intercom-go copied to clipboard

Add Notes Service

Open f2prateek opened this issue 9 years ago • 3 comments

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

f2prateek avatar Jan 16 '16 01:01 f2prateek

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

choran avatar Aug 10 '16 15:08 choran

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'

f2prateek avatar Aug 10 '16 18:08 f2prateek

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

choran avatar Aug 11 '16 11:08 choran