Department employees
Request
GET /api/v1/departments/:id/employees
curl --request GET \
--url 'https://www.zep-online.de/zepinstanz/next/api/v1/departments/1/employees' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {token}'
Response
{
"data": [
{
"username": "john.doe",
"firstname": "John",
"lastname": "Doe",
"personal_number": "003",
"street": "123 Main Street",
"zip": "12345",
"city": "Berlin",
"country": null,
"abbreviation": "JD",
"salutation": {
"id": "Herr",
"name": "Mr"
},
"title": null,
"email": "john.doe@company.com",
"phone": "030 123456-17",
"mobile": null,
"fax": "030 123456-99",
"private_phone": "030 654321",
"birthdate": "1985-08-17T00:00:00.000000Z",
"iban": null,
"bic": null,
"account_no": null,
"bank_name": null,
"bank_code": null,
"currency": null,
"approval_date": null,
"vat": null,
"price_group": "Senior Developer",
"employment": {
"id": 0,
"name": "Employee"
},
"rights": {
"id": 1,
"name": "Administrator"
},
"department_id": 1,
"language": null,
"personio_id": null,
"cost_bearer": null,
"tax_id": null,
"created": null,
"modified": "2025-05-06T18:06:25.000000Z",
"creditor_number": null
},
{
"username": "jane.smith",
"firstname": "Jane",
"lastname": "Smith",
"personal_number": "033",
"street": "Hauptstraße 65",
"zip": "70176",
"city": "Stuttgart",
"country": null,
"abbreviation": "JS",
"salutation": {
"id": "Frau",
"name": "Ms"
},
"title": null,
"email": "jane.smith@company.com",
"phone": null,
"mobile": null,
"fax": null,
"private_phone": null,
"birthdate": "1987-11-22T00:00:00.000000Z",
"iban": null,
"bic": null,
"account_no": null,
"bank_name": null,
"bank_code": null,
"currency": null,
"approval_date": null,
"vat": null,
"price_group": "Junior Developer",
"employment": {
"id": 0,
"name": "Employee"
},
"rights": {
"id": 3,
"name": "User with additional authorizations"
},
"department_id": 1,
"language": {
"locale": "en",
"isoCode": "en",
"name": "english",
"dateFormat": "m/d/Y",
"dateTimeFormat": "m/d/Y H:i",
"numberFormat": {
"decimalSeparator": ".",
"thousandsSeparator": ","
}
},
"personio_id": null,
"cost_bearer": null,
"tax_id": null,
"created": "2022-06-29T14:51:57.000000Z",
"modified": "2025-05-06T18:06:25.000000Z",
"creditor_number": "80033"
}
]
}