Sync employee directory data via API
API toolWorkatoRecipe ToolsDeveloper ToolAPI Integration
What it does
When someone calls this API endpoint with an Employee Id or Login Id, this automation validates the identifier and sends a SOAP request to fetch that employee's phone, fax, and office address.
Who it's for
IT teams who need to retrieve employee contact details and office locations through an API without manual directory lookups.
How teams use this
Look up employee contact by ID
Call the API with an Employee Id to get phone, fax, and office address in one request. No directory search needed and the response arrives in real time.
Retrieve contact info by login name
Use a Login Id instead of Employee Id to fetch the same contact and address details. The validation logic handles both identifier types without extra setup.
Integrate directory into HR systems
Call this endpoint from an HR application to populate employee contact fields automatically. Add a filter to return only active employees or a specific department.
Build a contact card widget
Use this API to power an internal tool that displays employee phone, fax, and office location on demand. Include a condition to check if the address field is populated before showing it.
How it works
- Receive the API request. An API call arrives with an Employee Id or Login Id in the request headers, triggering this automation in real time.
- Validate the employee identifier. Workato Api Platform checks whether the Employee Id or Login Id is present and valid so the correct SOAP request can be sent to the directory.
- Fetch employee contact details. Rest sends a SOAP request with the validated identifier to retrieve the employee's phone, fax, and office address from the directory system.
- Return employee data. Workato Api Platform sends a 200 response that includes the employee name, phone, fax, and office address so the caller receives the complete record.