NOTE
To configure webhooks:
- Partners using OAuth clients please email [email protected].
- Companies reference our Configure Company webhooks guide for more details. Webhooks are restricted to Gourmet plans.
This webhook will be triggered when a time_punch entry is created. For each time_punch created, 7shifts will send the webhook with a time_punch payload to the registered subscription endpoint.
Below is an example time_punch.created
payload. For the time_punch.created
topic, the created
and modified
timestamp will be the same.
{
"id": 1,
"company_id": 123,
"shift_id": 1,
"user_id": 12345,
"editable_punch": true,
"role_id": 1,
"location_id": 1,
"department_id": 1,
"hourly_wage": 10.00,
"approved": true,
"clocked_in": "2022-01-01 12:00:00",
"clocked_out": "2022-01-01 15:00:00",
"notes": "",
"auto_clocked_out": false,
"clocked_in_offline": false,
"clocked_out_offline": false,
"tips": 0,
"created": "2022-01-01 15:15:00",
"modified": "2022-01-01 15:15:00",
"deleted": false,
"pos_type": "web",
"clocked_in_iso": "2022-01-01T06:00:00-06:00",
"clocked_out_iso": "2022-01-01T09:00:00-06:00",
"time_punch_breaks": []
}