onboarded status is set to true - either programmatically via the API (POST /employees/setOnboardedStatusToTrue) or when the employee completes the white-label Employee Onboarding component.
Use this event to synchronize your platform’s employee records, enable downstream features like direct deposit, or send the employee a welcome notification without polling the Zeal API.
Configure your webhook URL in the Partner Dashboard → API page → Employee Onboarding Event tab. Zeal will POST the payload to that URL every time an employee in any of your companies completes onboarding.
When the Event Fires
The Employee Onboarding Event is triggered when:- A partner or admin calls
POST /employees/setOnboardedStatusToTruevia the API. - An employee completes the self-service white-label Employee Onboarding flow (which automatically sets
onboardedtotrueupon successful completion).
Webhook Request
Zeal sends an HTTP POST to your configured endpoint with aContent-Type: application/json header and a Puzzl-Signature header containing your Webhook Secret. Verify the request by checking that the Puzzl-Signature value matches your Webhook Secret from the Partner Dashboard before processing the event.
Headers
Payload Schema
Example Payloadstring
Always
"employee_onboarding" for this event type.string
The unique Zeal identifier for the employee who completed onboarding.
string
The ID of the company this employee belongs to.
boolean
Always
true when this event fires, confirming that onboarding is complete.string
The ISO 8601 datetime at which the event was generated.
object
A snapshot of the employee record at the time of the event.
Responding to the Event
Your endpoint must return an HTTP200 status code to acknowledge receipt. If Zeal does not receive a 200 response, it may retry delivery. Process the event idempotently so that duplicate deliveries do not cause duplicate side effects in your system.
Configuring the Webhook URL
- Log in to the Partner Dashboard.
- Navigate to the API page.
- Click the Employee Onboarding Event tab.
- Enter your endpoint URL.
- Save. Zeal will start delivering events to that URL immediately.