Skip to main content
GET

Authentication

This endpoint requires authentication with a Bearer token. Only users with Super Admin or HR Manager roles can list departments.
string
required
The unique identifier of the company

Query Parameters

integer
default:"1"
Page number for pagination
integer
default:"10"
Number of items per page
string
Filter by department status. Must be one of: active, inactive
Search departments by name or code

Response

boolean
Indicates if the request was successful
object
Paginated department list