curl --request GET \
--url https://api.capitalcheckin.app/v1/collaborators \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"name": "<string>",
"email": "[email protected]",
"phone": "<string>",
"position": "<string>",
"department": "<string>",
"status": "active",
"role": "admin",
"hire_date": "2023-12-25",
"salary": 123,
"manager_id": "<string>",
"work_schedule": "<string>",
"location": "<string>",
"avatar_url": "<string>",
"emergency_contact": {
"name": "<string>",
"phone": "<string>",
"relationship": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"meta": {
"total": 123,
"page": 123,
"per_page": 123,
"total_pages": 123,
"has_next": true,
"has_prev": true
}
}Retrieve a list of collaborators with optional filtering and pagination
curl --request GET \
--url https://api.capitalcheckin.app/v1/collaborators \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"name": "<string>",
"email": "[email protected]",
"phone": "<string>",
"position": "<string>",
"department": "<string>",
"status": "active",
"role": "admin",
"hire_date": "2023-12-25",
"salary": 123,
"manager_id": "<string>",
"work_schedule": "<string>",
"location": "<string>",
"avatar_url": "<string>",
"emergency_contact": {
"name": "<string>",
"phone": "<string>",
"relationship": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"meta": {
"total": 123,
"page": 123,
"per_page": 123,
"total_pages": 123,
"has_next": true,
"has_prev": true
}
}OAuth2 access token for authentication
Page number
Items per page
x <= 100Filter by status
active, inactive, pending Filter by department
Search in name, email, or position