API Reference
Timesheets API
API reference for retrieving timesheet aggregates via the Dime.Sheets public API.
Timesheets API
The Timesheets public API provides read-only access to timesheet aggregates.
Get a timesheet
GET /api/v1/timesheets/{id}Returns the weekly timesheet view for the given timesheet ID. The response includes the timesheet status, associated time entries, and summary totals.
Path parameters
| Parameter | Type | Description |
|---|---|---|
id | int | Timesheet ID |
Example request
curl "https://app.dimesheets.com/api/v1/timesheets/12" \
-H "X-API-KEY: {your-api-key}"Timesheet statuses
| Value | Name | Description |
|---|---|---|
0 | Draft | Initial state, entries can be edited |
1 | Submitted | Sent for approval |
2 | Approved | Approved by a project manager |
3 | Rejected | Rejected, returned to the user |
4 | Released | Handed off to an external system (ERP, payroll) |