---
title: "POST /api/tenants/{tenantId}/webhooks"
method: POST
path: "/api/tenants/{tenantId}/webhooks"
tags: ["Webhooks"]
---

# POST /api/tenants/{tenantId}/webhooks

`POST /api/tenants/{tenantId}/webhooks`

## Path parameters

- `tenantId` integer, required

## Request body

- Webhook
  - `id` integer
  - `status` 'Active' | 'Inactive'
  - `created` string, date-time
  - `updated` string, date-time
  - `name` string, required
  - `receiverAddress` string, required
  - `action` 'None' | 'CaseFunctionRequest' | 'CaseChangeAdded' | 'PayrunFunctionRequest' | 'PayrunJobProcess' | 'PayrunJobFinish' | 'ReportFunctionRequest' | 'TaskChange', required
  - `attributes` object, nullable

## Response `201`

Created

- Webhook
  - `id` integer
  - `status` 'Active' | 'Inactive'
  - `created` string, date-time
  - `updated` string, date-time
  - `name` string, required
  - `receiverAddress` string, required
  - `action` 'None' | 'CaseFunctionRequest' | 'CaseChangeAdded' | 'PayrunFunctionRequest' | 'PayrunJobProcess' | 'PayrunJobFinish' | 'ReportFunctionRequest' | 'TaskChange', required
  - `attributes` object, nullable

## Other responses

- `404` — Not Found
- `422` — Unprocessable Content

## Changes

- **2026-03-09** `642427b60b7a` — 76 warning
  - added the new `8192.00` enum value to the `additionalProperties/errors/items/exception/targetSite/customAttributes/items/constructor/methodImplementationFlags` response property for the response status `422`
  - added the new `8192.00` enum value to the `additionalProperties/errors/items/exception/targetSite/customAttributes/items/constructor/module/assembly/definedTypes/items/declaredEvents/items/addMethod/methodImplementationFlags` response property for the response status `422`
  - added the new `8192.00` enum value to the `additionalProperties/errors/items/exception/targetSite/customAttributes/items/constructor/module/assembly/definedTypes/items/declaredEvents/items/raiseMethod/methodImplementationFlags` response property for the response status `422`
  - added the new `8192.00` enum value to the `additionalProperties/errors/items/exception/targetSite/customAttributes/items/constructor/module/assembly/definedTypes/items/declaredEvents/items/removeMethod/methodImplementationFlags` response property for the response status `422`
  - …72 more
- …earlier changes not shown

[Full history](https://skmtc.dev/payroll-engine/apis/payroll-engine-backend-api-v1/changes/api/tenants/:tenantId/webhooks/post.md)

---

[API](https://skmtc.dev/payroll-engine/apis/payroll-engine-backend-api-v1.md) · [All operations](https://skmtc.dev/payroll-engine/apis/payroll-engine-backend-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/payroll-engine/payroll-engine-backend-api-v1/revisions/34e260deaa2c/schema)
