curl --request POST \
--url https://api.capitalcheckin.app/v1/collaborators/import \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"collaborators": [
{
"name": "<string>",
"email": "[email protected]",
"position": "<string>",
"department": "<string>",
"phone": "<string>",
"hire_date": "2023-12-25",
"salary": 123,
"manager_id": "<string>",
"work_schedule": "<string>",
"location": "<string>",
"emergency_contact": {
"name": "<string>",
"phone": "<string>",
"relationship": "<string>"
}
}
]
}
'{
"message": "<string>",
"created": 123,
"failed": 123,
"errors": [
{
"index": 123,
"error": "<string>"
}
]
}Add multiple collaborators from import data
curl --request POST \
--url https://api.capitalcheckin.app/v1/collaborators/import \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"collaborators": [
{
"name": "<string>",
"email": "[email protected]",
"position": "<string>",
"department": "<string>",
"phone": "<string>",
"hire_date": "2023-12-25",
"salary": 123,
"manager_id": "<string>",
"work_schedule": "<string>",
"location": "<string>",
"emergency_contact": {
"name": "<string>",
"phone": "<string>",
"relationship": "<string>"
}
}
]
}
'{
"message": "<string>",
"created": 123,
"failed": 123,
"errors": [
{
"index": 123,
"error": "<string>"
}
]
}OAuth2 access token for authentication
List of collaborators to import
Show child attributes