What are the unique identifier for a user in Freshchat?

Hi,

  1. In Freshchat, which attribute can be used (other than ID) to uniquely identify a user.
  2. Also, is there API to get users by email or phone number.

Thanks in advance

Given the unique user_id, you can fetch that user’s object using Freshchat.

Given email, phone, first_name, last_name, etc, you can fetch a bunch of user objects using this API
https://app.swaggerhub.com/apis-docs/freshworks/Freshchat/2.0.0#/User%20API

Note that the email/phone is not the unique identifier for a user object.

For a given email, it is possible that you can get multiple user objects in response.

2 Likes

Thanks for your immediate reply.

1 Like