Discussions
Inactive Staff Appearing in API Calls Despite Removal from dashboard
8 days ago by Kunal Bhalla
We are currently developing a booking feature that requires accurate, up-to-date staff details. To retrieve this information, we are using the endpoint: https://api.servicem8.com/api_1.0/staff.json. However, the response includes all 70 employees, including inactive ones who have been removed from the dashboard. Our active staff count should be 17.
Could you please guide us on how to filter the results to only include active employees (those currently displayed on the dashboard)?