- WorkTrail API /
- Employees
Fetching Employees of a Company
Allows apps to fetch all employees of a company. Required permission scope: read_employees
Request URL
https://worktrail.net/rest/employees
Object Structure
The above URL returns a list as described in the Request Basics. The core type is a employee so the "list" attribute will contain a JSON array of the following objects:
{
"id": 1,
"username": "email@address.com",
"name": "Lorem Ipsum",
"first_name": "Lorem",
"last_name": "Ipsum",
"role": "employee",
"avatar50url": "https://www.gravatar.com/avatar/adf82dd802db2959d2f74647851a0e72?s=50"
"modifydate": 1328192978
}