Supported Webhook Events
Overview
When you create a webhook, select one or more Event Types. Astalty sends the event's identifier in the payload as event_type. Events tied to another account feature only occur when that feature is available and used.
To fetch this list programmatically instead of relying on the table below, see Listing webhook events via the API.
Supported events
Each event type links to its page in the API Reference, which shows the payload and, where available, the endpoint for retrieving the record.
| Event type | Triggered when |
|---|---|
| candidate.created | A candidate is added, by hand, through the API, or by applying to a job post for the first time. |
| candidate.updated | A candidate's details change, including when an existing candidate applies to another job post with new details. |
| contact.created | A new contact is added to the directory. |
| contact.updated | An existing contact's details are updated. |
| feedback.created | A piece of feedback is submitted. |
| form_submission.created | A form is submitted. |
| incident.created | An incident is reported. |
| incident.updated | An existing incident is updated, including when its status changes. |
| invoice_batch.created | A new invoice batch is created. |
| invoice_batch.finalised | An invoice batch is finalised. |
| job_application.created | A candidate submits an application to a job post. |
| job_post.closed | A job post is closed to new applications. |
| job_post.published | A job post is published and starts accepting applications. |
| organisation.created | A new organisation is added to the directory. |
| organisation.updated | An existing organisation's details are updated. |
| participant.created | A new participant is created. |
| participant_record.created | A participant record is created. |
| participant_record.expired | A participant record has expired. Sent once per expiry date, at 9am in your account's timezone, the morning after the record expires. |
| participant_record.expiring | A participant record is coming up to its expiry date. Sent 30, 14, 7 and 1 days before it, at 9am in your account's timezone; `data.reminder_days` says which reminder this is and `data.days_until_expiry` how many days are left. A record that first comes within 30 days late gets only the latest reminder due, then the later ones. |
| participant_record.updated | A participant record is updated. |
| participant.updated | An existing participant is updated. |
| referral.created | A new referral is created. |
| referral.status_changed | A referral moves to a different status. |
| referral.updated | An existing referral is updated, including when its status changes. |
| shift.cancelled | A shift is cancelled because its support or group support is cancelled, including each shift of a recurring cancellation. Cancelling one participant of a group support that goes ahead sends nothing, and so does reinstating a cancelled support or group support. |
| shift.clocked_in | A shift is clocked in, by the worker, on their behalf, or automatically. Undoing or clearing a clock in sends nothing. |
| shift.clocked_out | A shift is clocked out, by the worker, on their behalf, or automatically. Undoing or clearing a clock out sends nothing. |
| site_record.created | A site record is created. |
| site_record.expired | A site record has expired. Sent once per expiry date, at 9am in your account's timezone, the morning after the record expires. |
| site_record.expiring | A site record is coming up to its expiry date. Sent 30, 14, 7 and 1 days before it, at 9am in your account's timezone; `data.reminder_days` says which reminder this is and `data.days_until_expiry` how many days are left. A record that first comes within 30 days late gets only the latest reminder due, then the later ones. |
| site_record.updated | A site record is updated. |
| task.completed | A task is marked as completed. |
| task.created | A new task is created. |
| task.updated | An existing task is updated, including when it is completed, reassigned or moved. |
| user.deactivated | A user is deactivated. |
| user.invite_accepted | An invited user accepts their invitation. |
| user.invited | A user is invited to your account. |
| user_record.created | A user record is created. |
| user_record.expired | A user record has expired. Sent once per expiry date, at 9am in your account's timezone, the morning after the record expires. |
| user_record.expiring | A user record is coming up to its expiry date. Sent 30, 14, 7 and 1 days before it, at 9am in your account's timezone; `data.reminder_days` says which reminder this is and `data.days_until_expiry` how many days are left. A record that first comes within 30 days late gets only the latest reminder due, then the later ones. |
| user_record.updated | A user record is updated. |
| user.restricted | A user is restricted. |
| user.updated | A user's profile details are updated. |
What you receive
Every event identifies the event type and related resource. Some events include details in data. For example, referral.status_changed includes both previous_status and status, so your integration can act on a particular change. Events without additional details send an empty array. Read Webhook Payloads and Signature Verification for the complete envelope and delivery rules.
Track Expiring Records
Subscribe to the .expiring event for Participant, User or Site Records to receive reminders at 9 am in your account's timezone, 30, 14, 7 and 1 days before expiry. If you add a record after a reminder was due, Astalty sends only the most recent reminder due, then the remaining ones. Use data.days_until_expiry for the actual number of days left. The separate .expired event is due the morning after expiry.
Follow Shift Changes
Subscribe to shift.clocked_in or shift.clocked_out to follow clock events, including automatic entries and entries made on the worker's behalf. Clearing a clock entry sends no event. Use shift.cancelled for cancellations of whole shifts. Removing one Participant from a group support that still goes ahead does not cancel the shift.
Keep Staff Profiles In Sync
Subscribe to user.updated to follow staff profile edits. This includes changes saved through the web app or public API, phone or mobile updates in the Support Worker app, and updates to existing users through an import.
The event identifies the user in resource.id and sends an empty data array. Use that ID to fetch the current user. Subscribe separately to user.deactivated and user.restricted to detect loss of access. To detect restored access, check the user's current status through the API. Reactivating a user or lifting a restriction does not send a webhook.