Webhook Setup
You can configure API-managed webhook endpoints with/api/setwebhooks or the public REST API.
/api Webhook API
Use /getwebhooks to read the current configuration and /setwebhooks to update one or more endpoints.
/api/setwebhooks uses these API-managed webhook keys:
job_createdjob_updatedjob_completedjob_archivedjob_deletedjob_checkedplace_checkedclock_in_outalert_triggered
data.job_checked.url and optionally data.job_checked.header.
For place check-in/out webhooks, set data.place_checked.url and optionally data.place_checked.header.
For clock-in/out webhooks, set data.clock_in_out.url and optionally data.clock_in_out.header.
For alert webhooks, set data.alert_triggered.url and optionally data.alert_triggered.header.
Each key accepts:
url: The HTTPS endpoint Hellotracks should call.header: Optional object of custom HTTP headers to include with the callback.
Public REST API
No-code connectors and REST integrations can configure webhooks through/v1/webhooks.
webhooks, for example webhooks.job_checked.url, webhooks.place_checked.url, or webhooks.clock_in_out.url. Use headers for optional custom callback headers.
Use headers in /v1/webhooks requests; /api/setwebhooks uses header.
Webhook Event Summary
| Configuration | Delivered action(s) | Payload section |
|---|---|---|
job_created | jobcreated | Job Webhook Payload |
job_updated | jobupdated | Job Webhook Payload |
job_completed | jobcompleted | Job Webhook Payload |
job_archived | jobarchived | Job Webhook Payload |
job_deleted | jobdeleted | Job Webhook Payload |
job_checked | jobcheckin, jobcheckout | Job Webhook Payload |
clock_in_out | clockin, clockout | Clock In/Out Webhook Payload |
place_checked | placecheckin, placecheckout | Place Check Webhook Payload |
alert_triggered | alerttriggered | Alert Webhook Payload |
Delivery Format
Hellotracks calls your endpoint with aPOST request. For standard webhook callbacks, the POST body contains form parameters:
account: The company account username.id: The event identifier. For job events this is the job ID. For clock events this includes the member UID, timestamp, and action. For alert events this is the alert instance ID.data: JSON string with event-specific data.action: The delivered action.reason: Same value asaction.
jobcreated: called when a job is newly createdjobupdated: called when an existing job is updatedjobcompleted: called when a job is marked as completed, either with success or failurejobarchived: called when a job is marked as archivedjobdeleted: called when a job is deletedjobcheckin: called when a job is checked injobcheckout: called when a job is checked outclockin: called when a worker turns tracking on, which is treated as clock-inclockout: called when a worker turns tracking off, which is treated as clock-outplacecheckin: called when a member automatically checks in at a placeplacecheckout: called when a member automatically checks out from a placealerttriggered: called when an alert configuration triggers
Job Webhook Payload
Job webhooks send the job ID asid and a compact job array as data.
jobcreated, jobupdated, jobcompleted, jobarchived, jobdeleted, jobcheckin, or jobcheckout.
See Job API Object for job fields.
Clock In/Out Webhook Payload
Clock in/out webhooks use the API-managedclock_in_out key. Hellotracks sends action=clockin when a worker turns tracking on and action=clockout when a worker turns tracking off.
action and reason are clockout, id ends with clockout, and data.tracking is false.
Clock payload fields:
who: Member who changed tracking state.tracking:truefor tracking on / clock-in,falsefor tracking off / clock-out.ts: Event timestamp in milliseconds.location: Optional latitude/longitude object. It is omitted when Hellotracks did not receive a valid location for the tracking-state event.
Clock in/out webhooks are sent when a worker changes tracking on or off from the mobile app and that event is accepted as the worker’s current tracking state. Admin or manual timesheet changes, such as adding or correcting a clock entry in the web app, update the timesheet data but do not trigger clock in/out webhooks.
Place Check Webhook Payload
Place check webhooks send a unique check event ID asid and place/member/timestamp details as data.
action and reason are placecheckout.
See Place API Object for place fields.
Alert Webhook Payload
Alert webhooks useaction=alerttriggered and reason=alerttriggered. The id field is the alert instance ID.
alert.id: Alert instance ID.alert.config: Alert configuration ID.alert.companyUid: Company UID.alert.title: Alert configuration title.alert.description: Alert configuration description.alert.message: Human-readable alert message generated by Hellotracks.alert.action: Alert action name.alert.actionCode: Numeric alert action code.alert.type: Numeric alert type.alert.interval: Alert interval in milliseconds, if configured.alert.tsCreated: Alert instance timestamp in milliseconds.member: Member who triggered or violated the alert.place: Optional place object when the alert is place-related.zone: Optional zone object when the alert is zone-related.checkType: Optional check direction,INorOUT.
checks_inchecks_outchecks_anyno_check_inno_check_outno_check_anyidleenters_zoneleaves_zoneno_connection_to_deviceenters_danger_zonebattery_lownone