How can we fetch details of particular employee using employee id?

use case : There is a portal and if a user logs in for the first time on the portal then we are fetching the Employee ID and Email of the users. Using these two information i have to get all the details like USERID, fist_name, last_name, manager etc of the user from sailpoint using SCIM API call.
How can we do it ?
Can anyone please help me here.

Thanks in advance.

You can use the /v2/Users SCIM endpoint to retrieve an identity either by cube name or ID. Assuming your Employee ID is the identity cube name, you can do a GET request like this:

http://localhost:8080/identityiq/scim/v2/Users/?lookupByName=true

See: get-user-by-id | SailPoint Developer Community