Issue with Conversations API

Jump to solution
tneotia
Community Member

Hello all,

I was playing around with sending/reading messages using the Conversations API and I've run into a little issue.

Say for example we have user A and user B. If user A sends a message to user B, then I can run the GET v1/conversations/ request on user B and the message from user A shows up in the response. However, if I run the same request on user A after the message is sent, that sent message does not show up in the response.

Now, lets say user B responds to the message sent by user A. Then if I run the GET request on user A, the message shows up in the response. I would like to see that sent message regardless of whether the recipient replies to it or not, but it seems like the API doesn't support this.

Am I missing something or is this intended functionality? Any help will be appreciated, thanks!

 

 

0 Likes
1 Solution
bbennett2
Community Champion

I just popped the network tab open in Canvas and switched to my sent list. It adds a `sent` scope to the GET request. Maybe it's an undocumented filter you could use?

GET /api/v1/conversations?scope=sent&...

View solution in original post