---
title: "Set a webhook attribute"
method: POST
path: "/api/tenants/{tenantId}/webhooks/{webhookId}/attributes/{attributeName}"
tags: ["Webhooks"]
---

# Set a webhook attribute

`POST /api/tenants/{tenantId}/webhooks/{webhookId}/attributes/{attributeName}`

## Path parameters

- `tenantId` integer, required
- `webhookId` integer, required
- `attributeName` string, required

## Request body

- string

## Response `201`

Created

- string

## Other responses

- `404` — Not Found
- `422` — Client Error

## Changes

- **2023-07-23** `fd1b5146be4a` — 24 warning, 110 info
  - removed the optional property `additionalProperties/errors/items/exception/targetSite/customAttributes/items/constructor/module/assembly/definedTypes/items/isFunctionPointer` from the response with the `422` status
  - removed the optional property `additionalProperties/errors/items/exception/targetSite/customAttributes/items/constructor/module/assembly/definedTypes/items/isUnmanagedFunctionPointer` from the response with the `422` status
  - removed the optional property `additionalProperties/errors/items/exception/targetSite/declaringType/assembly/definedTypes/items/isFunctionPointer` from the response with the `422` status
  - removed the optional property `additionalProperties/errors/items/exception/targetSite/declaringType/assembly/definedTypes/items/isUnmanagedFunctionPointer` from the response with the `422` status
  - …130 more

[Change history](https://skmtc.dev/payroll-engine/apis/payroll-engine-backend-api-v1/changes/api/tenants/:tenantId/webhooks/:webhookId/attributes/:attributeName/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.dev/payroll-engine/apis/payroll-engine-backend-api-v1/revisions/fd1b5146be4a?raw)
