hello guys I found a filter on endpoint users that is not in the documentation!
get https://api.freshchat.com/v2/users?email={{email_user}}
I wonder if there is any way to filter by phone and channel? as i found this call i believe that there may be more things that are not documented yet!
1 Like
Hey Marllon,
The API can be used to retrieve users.
curl "https://api.freshchat.com/v2/users?email=abc@abc.com" \
-H 'Authorization: Bearer PUBLIC API TOKEN'
The supported params are first_name, last_name, email, phone_no, reference_id. Unfortunately we do not have the ability to filter contacts based on a channel.
Hope this helps.
4 Likes