An API Call for all Users in Freshchat

I had a requirement for getting users from Freshchat and adding it into our DB, so we thought of having a cron job which will take up the latest users and do the required stuff. When I checked the documentation there is no API for getting all the users. Is there any way to handle this requirement? It would be helpful if there is a work around for it.

Hey @aswinvb, welcome to the community!

We have this API (unofficial I would say) to filter users:
You can pass a created_from parameter and it will return users created from this date.

If you don’t need to get all users already in the account, you could listen to the onUserCreate:

and then send it to your DB.

@samuelpares Thanks for the help.