How to get User information like email,home_department,id using API call

Hello Experts,
I’m trying to get user information like email,home_department,user id using API.
i tried using all_users() API call.
{
“id”: 123456789,
“first_name”: null,
“last_name”: null,
“avatar_url”: “”,
“display_name”: null,
“url”: “”,
“can”: {
“show”: true,
“show_details”: false
}
}

i’m getting information like first_name,last_name,avatar_url,display_name,url,can but not getting email ,or home department information.
did i’m calling wrong API ? or any other API i need to use to get general information related to user?

Regards,
Ajay

0 1 114
1 REPLY 1

Any help or suggestion on above problem.