Timesheets
This call needs the timesheets ability. It returns the timesheets already stored on the job, newest first, with no page size. A job in another organisation returns 404.
This API cannot create, submit, recall, approve or reject a timesheet. Those actions happen in AssignPoint. The fields below are what a read returns.
submitted_at, approved_at and rejected_at say where the timesheet is. rejection_reason is set when it was rejected. pay_rate and expected_pay_rate are minor currency units per hour. After approval, expected_pay_rate is the approved rate. Before that, it is the rate that applied to the assignment.
driving_minutes adds the outbound and return driving legs. submission_history is the earlier transitions. Each entry has action (submitted, recalled, approved or rejected), at, user_id, revision and values. recall_count is how many of those entries are recalled.
assignment and user are included with the timesheet.
GET /api/v1/external/jobs/{job}/timesheets
Returns the timesheets stored on the job, newest first. The list is not paginated. The token needs the timesheets ability.
This API cannot submit, approve or edit a timesheet. A job in another organisation returns 404.
pay_rate and expected_pay_rate are integer minor currency units per hour. driving_minutes is the sum of the two driving legs, in minutes. submission_history records earlier transitions. Each entry has action (submitted, recalled, approved or rejected), at, user_id, revision and values.
Parameters
| Name | In | Required | Description |
|---|---|---|---|
job | path | required | integer. AssignPoint job id. |
Errors
| Status | Meaning |
|---|---|
401 | The token is missing, does not use an accepted prefix, is unknown, or is revoked. |
403 | The token is not allowed to perform this action, the client is not bound to an integration, or the organisation cannot accept writes. A write while the organisation is read-only uses code workspace_unavailable. An ability failure has no code. |
404 | The record is not in this token's organisation, or the worker is not in this integration. Use the status code. The message string is not a stable contract. |
Request
curl "https://app.assignpoint.com/api/v1/external/jobs/1042/timesheets" \
-H "Authorization: Bearer assignpoint_live_EXAMPLE"
Response 200
{
"data": [
{
"id": 900,
"job_id": 1042,
"job_assignment_id": 501,
"user_id": 220,
"work_date": "2027-06-14",
"started_at": "2027-06-14T08:05:00Z",
"finished_at": "2027-06-14T17:40:00Z",
"break_minutes": 30,
"pay_rate": 1500,
"expected_pay_rate": 1500,
"notes": null,
"driving_started_at": null,
"driving_finished_at": null,
"driving_notes": null,
"return_driving_started_at": null,
"return_driving_finished_at": null,
"return_driving_notes": null,
"driving_minutes": 0,
"revision": 2,
"recall_count": 0,
"submission_history": [
{
"action": "submitted",
"at": "2027-06-14T18:10:00Z",
"user_id": 220,
"revision": 1,
"values": {
"work_date": "2027-06-14",
"started_at": "2027-06-14T08:05:00Z",
"finished_at": "2027-06-14T17:40:00Z",
"break_minutes": 30,
"notes": null
}
}
],
"submitted_at": "2027-06-14T18:10:00Z",
"approved_at": null,
"approved_by": null,
"rejected_at": null,
"rejection_reason": null,
"expected_started_at": "2027-06-14T08:00:00Z",
"expected_finished_at": "2027-06-14T18:00:00Z",
"assignment": {
"id": 501,
"job_id": 1042,
"job_role_id": 33,
"user_id": 220,
"status": "assigned",
"cancellation_reason": null,
"assigned_at": "2027-06-02T08:00:00Z",
"created_at": "2027-06-02T08:00:00Z",
"updated_at": "2027-06-02T08:00:00Z"
},
"user": {
"id": 220,
"name": "Sam Example",
"email": "sam@example.com",
"phone": "+447700900123",
"photo_url": null,
"created_at": "2027-05-01T10:00:00Z",
"updated_at": "2027-05-01T10:00:00Z"
},
"created_at": "2027-06-14T18:00:00Z",
"updated_at": "2027-06-14T18:10:00Z"
}
]
}