"List all Staff Members" - end point of the API

“List all Staff Members” - end point of the API (https://api.servicem8.com/api_1.0/staff.json) returns all staff member names along with all the API key names. which is out of scope for this endpoint. I am unable to build some automations due to this error.

Hi Abdullah,

The documented “List all Staff Members” endpoint is GET https://api.servicem8.com/api_1.0/staff.json, and it returns an array of Staff records (e.g. fields like first, last, email, uuid, active).

It also supports API-side filtering (for example, you can filter on fields like active), using the standard $filter syntax.

Separately, an API Key Name is used for attribution in ServiceM8 (for example, an automated note can display as “by n8n”), which can make it look like “non-staff” names are involved in activity history.

Thanks,
Cody

1 Like