object WebhookCallbackResponse
{
  "type": "object",
  "title": "WebhookCallbackResponse",
  "example": {
    "data": {
      "webhook_callback": {
        "id": "0073fcb5-b669-4e4a-b963-2a47744e75a1X",
        "url": "https://example.com/callback",
        "subscribed_events": [
          "employment.onboarding_task.completed"
        ]
      }
    }
  },
  "required": [
    "data"
  ],
  "x-struct": null,
  "properties": {
    "data": {
      "type": "object",
      "required": [
        "webhook_callback"
      ],
      "x-struct": null,
      "properties": {
        "webhook_callback": {
          "$ref": "#/components/schemas/WebhookCallback"
        }
      },
      "x-validate": null
    }
  },
  "x-validate": null,
  "description": "Webhook callback response"
}
object WebhookTriggerParams
{
  "type": "object",
  "title": "WebhookTriggerParams",
  "example": {
    "event_type": "employment.onboarding_task.completed",
    "employment_id": "e966a8b8-1076-11ee-a5f2-9b3997a968f6"
  },
  "x-struct": null,
  "properties": {
    "event_type": {
      "enum": [
        "billing_document.issued",
        "contract_amendment.canceled",
        "contract_amendment.deleted",
        "contract_amendment.done",
        "contract_amendment.review_started",
        "contract_amendment.submitted",
        "custom_field.value_updated",
        "employment_contract.active_contract_updated",
        "employment.account.updated",
        "employment.details.updated",
        "employment.onboarding_task.completed",
        "employment.onboarding.completed",
        "employment.personal_information.updated",
        "employment.user_status.activated",
        "employment.user_status.deactivated",
        "expense.approved",
        "expense.declined",
        "expense.deleted",
        "expense.reimbursed",
        "expense.submitted",
        "expense.updated",
        "identity_verification.verification_required",
        "incentive.created",
        "incentive.deleted",
        "incentive.paid",
        "incentive.processing_started",
        "incentive.updated",
        "offboarding.deleted",
        "offboarding.done",
        "offboarding.review_started",
        "offboarding.submitted",
        "offboarding.submitted_to_payroll",
        "offboarding.completed",
        "payslip.released",
        "timeoff.approved",
        "timeoff.canceled",
        "timeoff.date_changed",
        "timeoff.declined",
        "timeoff.requested",
        "timeoff.taken",
        "timeoff.updated"
      ],
      "type": "string",
      "x-struct": null,
      "x-validate": null
    },
    "employment_id": {
      "type": "string",
      "x-struct": null,
      "x-validate": null
    }
  },
  "x-validate": null,
  "description": "Required params to trigger a webhook event in the Sandbox environment"
}