How do I pull all the conversations for specific user

I’m looking for a way to pull all FreshChat conversations that belong to the same user.
I searched it on the API documentation and didn’t find how to do it.

Hi @Ofer_Ariel

Good day. Welcome to the community.

You can use getConversationForUser endpoint to fetch conversations for a specific user.

2 Likes

Where do we get the user ids from?
couldnt find an endpoint for fetching all user ids

@Yuval_Zolotovitzky

Good and welcome to the community.

You can use getUsers API to filter users based on provided filters.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.