Skip to main content
F.A.Q.

Employee ID for API endpoints

  • October 12, 2023
  • 7 replies
  • 267 views

An employee's ID can be found in the URL of the employee's profile page on Bob:

 

7 replies

Luis De Seta

The only way to use the API is whit this Employee ID? Could I use the email or other internal ID?


Jessica Lane
Bobber

Hi @Luis De Seta 👋🏻

 

You can use the Employee ID from the URL as shown by Dexter above, or the employees email address. 😀


Luis De Seta

HI @jesica !
Thanks for your help. I doesn’t work with employee email. Its give 403 error Forbiden.

 


Luis De Seta

How can I search the Employee ID if I only have the email?


Maital Terdiman
Bobber

hi @Luis De Seta 

The Employee ID can be found in the URL, as demonstrated by Dexter:

 


Luis De Seta

Hi Maital!
I will use People Search endpoint to get the employee ID because I need it in other endpoint.

I have to write some code, but its ok. Thsnks for your help!


As Luis as mentioned, if you only have the email or the employees name, the workaround to match the employees backend ID would be to use the People Search endpoint and add the following field IDs:

 

root.email

root.displayName

 

The backend employee ID will then be returned along with the email and display name of the user: