Authorization: ********************{
"lat": -6.2088,
"lng": 106.8456,
"location": "Office HQ, Jakarta",
"location_accuracy": 15.3,
"photo_url": "http://example.com"
}curl --location --request POST 'https://dev.your-api-server.com/attendances/clock-in' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"lat": -6.2088,
"lng": 106.8456,
"location": "Office HQ, Jakarta",
"location_accuracy": 15.3,
"photo_url": "http://example.com"
}'{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"employee_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"clock_in": "2025-11-16T08:00:00Z",
"clock_out": "2025-11-16T17:00:00Z",
"lat": -6.2088,
"lng": 106.8456,
"location": "Office HQ, Jakarta",
"location_accuracy": 5.5,
"device_id": "mobile-app-v1",
"photo_url": "https://cdn.peoplesync.example/attendances/2025/11/photo.jpg",
"source": "mobile",
"sync_status": "pending",
"created_at": "2025-11-16T08:01:30Z"
}