curl --request POST \
--url https://app.usequeue.com/api/v1/projects/{project_id}/timesheets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"task_id": "LgFv67mHFVGTrvmBG8nUZuV6",
"start_time": "2025-01-18T15:00:00.000Z",
"end_time": "2025-01-18T16:00:00.000Z",
"notes": "Worked on setup",
"billable": true,
"billable_rate": 100.25
}
'{
"success": true,
"timesheet": {
"id": "V5xkqELXjhGwSpDJSWXGHumZ",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"task": {
"id": "LgFv67mHFVGTrvmBG8nUZuV6",
"title": "11"
},
"project": {
"id": "3c82c4be",
"title": "AirBnB edited"
},
"user": {
"username": "Masud Hossain",
"email": "[email protected]",
"avatar": "<string>"
},
"is_active": true,
"elapsed_time": 123,
"start_time": "2023-11-07T05:31:56Z",
"end_time": "2023-11-07T05:31:56Z",
"duration": 3600,
"notes": "<string>",
"billable": true,
"billable_rate": 123,
"finished": true,
"formatted_duration": "1 hours, 0 minutes, 0 seconds",
"short_formatted_duration": {
"display": "1h 0m",
"decimal": 1
},
"hourly_rate": "100.25"
}
}curl --request POST \
--url https://app.usequeue.com/api/v1/projects/{project_id}/timesheets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"task_id": "LgFv67mHFVGTrvmBG8nUZuV6",
"start_time": "2025-01-18T15:00:00.000Z",
"end_time": "2025-01-18T16:00:00.000Z",
"notes": "Worked on setup",
"billable": true,
"billable_rate": 100.25
}
'{
"success": true,
"timesheet": {
"id": "V5xkqELXjhGwSpDJSWXGHumZ",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"task": {
"id": "LgFv67mHFVGTrvmBG8nUZuV6",
"title": "11"
},
"project": {
"id": "3c82c4be",
"title": "AirBnB edited"
},
"user": {
"username": "Masud Hossain",
"email": "[email protected]",
"avatar": "<string>"
},
"is_active": true,
"elapsed_time": 123,
"start_time": "2023-11-07T05:31:56Z",
"end_time": "2023-11-07T05:31:56Z",
"duration": 3600,
"notes": "<string>",
"billable": true,
"billable_rate": 123,
"finished": true,
"formatted_duration": "1 hours, 0 minutes, 0 seconds",
"short_formatted_duration": {
"display": "1h 0m",
"decimal": 1
},
"hourly_rate": "100.25"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Duration of the timesheet in milliseconds
The body is of type object.
Created
true
Show child attributes
"V5xkqELXjhGwSpDJSWXGHumZ"
Show child attributes
"Masud Hossain"
3600
"1 hours, 0 minutes, 0 seconds"
"100.25"