❗️

NOTE

This webhook requires premium API access. Inquire by emailing [email protected].

You can use webhook subscriptions to receive notifications about particular events in a company. After you've subscribed to a webhook topic, your app can execute code immediately after specific events occur in companies that have your webhook subscriptions installed, instead of having to make API calls periodically to check their status, or polling.

Below is an example time_punch.edited response.

For the time_punch.edited topic, notice the created and modified timestamp will be different.

{
  "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 16:00:0",
  "deleted": false,
  "pos_type": "web",
  "clocked_in_iso": "2022-01-05T06:00:00-06:00",
  "clocked_out_iso": "2022-01-05T09:00:00-06:00",
  "time_punch_breaks": []
}