Authorization: ********************curl --location --request GET 'https://dev.your-api-server.com/departments?page&per_page&include' \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "Engineering",
"code": "ENG",
"parent_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_at": "2025-01-12T10:15:00Z"
}
],
"meta": {
"current_page": 1,
"per_page": 25,
"total": 120,
"last_page": 5,
"from": 1,
"to": 25
}
}