curl --request PUT \
--url https://api.capitalcheckin.app/v1/collaborators/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"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>",
"emergency_contact": {
"name": "<string>",
"phone": "<string>",
"relationship": "<string>"
}
}
'{
"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"
}Update an existing collaborator’s information
curl --request PUT \
--url https://api.capitalcheckin.app/v1/collaborators/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"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>",
"emergency_contact": {
"name": "<string>",
"phone": "<string>",
"relationship": "<string>"
}
}
'{
"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"
}OAuth2 access token for authentication
Collaborator ID
Full name of the collaborator
2Email address (must be unique)
Phone number
Job position or title
Department or team
Collaborator status
active, inactive, pending Collaborator role
admin, manager, employee Date when collaborator was hired
Annual salary
ID of the manager
Work schedule (full-time, part-time, etc.)
Work location
Show child attributes
Collaborator updated
Unique collaborator identifier
Full name of the collaborator
Email address
Phone number
Job position or title
Department or team
Collaborator status
active, inactive, pending Collaborator role
admin, manager, employee Date when collaborator was hired
Annual salary
ID of the manager
Work schedule (full-time, part-time, etc.)
Work location
Profile picture URL
Show child attributes
Creation timestamp
Last update timestamp