The GET Single Employee API endpoint allows users to fetch specific employee details from a client's Paylocity instance. To use this endpoint, the Paylocity Company ID and the Employee ID must be specified. The endpoint also offers an 'include' parameter for selective data retrieval, enabling users to choose specific payload elements to retrieve.
GET Specific Employee – Use Cases:
This API endpoint will allow an API user to retrieve an employee record for a specific employee ID.
For optimal use, pair this API endpoint with the Paylocity Employee Change Web Hook. This ensures that you get notified whenever there's a change in the employee's data in Paylocity. Along with the notification, you will receive the Paylocity Company ID and Employee ID corresponding to the employee whose data has been modified. You can then utilize the GET Specific Employee API endpoint to access the most recent version of the updated employee record.
Click Try It! to start a request and see the response here!