Skip to main content
The Employee Onboarding Event is a webhook Zeal sends to your platform when an employee successfully completes the onboarding flow. This event fires automatically when the employee’s 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 DashboardAPI pageEmployee 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/setOnboardedStatusToTrue via the API.
  • An employee completes the self-service white-label Employee Onboarding flow (which automatically sets onboarded to true upon successful completion).

Webhook Request

Zeal sends an HTTP POST to your configured endpoint with a Content-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 Payload
Top-level Fields
string
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 HTTP 200 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

  1. Log in to the Partner Dashboard.
  2. Navigate to the API page.
  3. Click the Employee Onboarding Event tab.
  4. Enter your endpoint URL.
  5. Save. Zeal will start delivering events to that URL immediately.