How to view contacts of current agent in Freshsales custom app?

Hi,
I need to view contacts of current login agent in my Freshsales custom app.
Is there any way to do this.
Thanks !

hey @Thanh_DV

Hope you are well!

If my understanding is correct, you want to build an app that gets the details of the current logged-in agent! if that is the case you can use Data API (Data API) to get the details of the current user
or
do you want to get all the contacts in the Freshsales account, if that is the case you can use the Contacts API (https://freshsales.io/api/#contacts) in Freshservice

Hope this helps!

Stay safe :slight_smile:

Hi @velmurugan,
Thanks for your help, i want to get all the contacts in the Freshsales account.
But my app install by api key of admin acount, when i login with other acount, my contact will response all contacts of admin
Is there any way to get all contacts of current acount with apikey of admin acount.
thanks and best regards !