Timesheets
Payloads
Each event will consist of
| Payload Field | Description |
|---|---|
payload.event | The category of the event (timesheets) |
payload.data.id | The unique identifier for the timesheet. |
payload.data.operation | The action performed on the resource (timesheets_created, timesheets_updated, timesheets_deleted) |
payload.data.last_updated_at | Unix timestamp indicating when the event occurred |
Example Payloads
{
"payload":{
"event":"timesheets",
"data":{
"id":4698,
"operation":"timesheets_created",
"last_updated_at":1722519184
}
}
}Get Timesheet Details
After receiving a webhook event for a timesheet, you can retrieve the full timesheet details using the Timesheet API endpoint. Use the payload.data.id provided in the payload to fetch the latest state of the timesheet.
Updated 6 days ago