---
title: "Update a webhook configuration"
method: PUT
path: "/api/v1/webhooks/configurations/{id}"
tags: ["webhooks"]
---

# Update a webhook configuration

`PUT /api/v1/webhooks/configurations/{id}`

## Path parameters

- `id` string, required

## Request body

- UpdateWebhookRequestDto
  - `workflowId` string, uuid
  - `workflowVersionId` string, uuid
  - `name` string
  - `description` string
  - `parsingScript` string
  - `expectedInputs` object[]
    - `id` string, required
    - `label` string, required
    - `type` 'text' | 'number' | 'json' | 'array' | 'file', required
    - `required` boolean
    - `description` string
  - `status` 'active' | 'inactive'

## Response `200`

- WebhookConfigurationResponseDto
  - `id` string, uuid, required
  - `workflowId` string, uuid, required
  - `workflowVersionId` string, uuid, nullable, required
  - `workflowVersion` integer, nullable, required
  - `name` string, required
  - `description` string, nullable, required
  - `webhookPath` string, required
  - `parsingScript` string, required
  - `expectedInputs` object[], required
    - `id` string, required
    - `label` string, required
    - `type` 'text' | 'number' | 'json' | 'array' | 'file', required
    - `required` boolean
    - `description` string
  - `status` 'active' | 'inactive', required
  - `organizationId` string, nullable, required
  - `createdBy` string, nullable, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

---

[API](https://skmtc.net/shipsecai/apis/shipsec-studio-api.md) · [All operations](https://skmtc.net/shipsecai/apis/shipsec-studio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/shipsecai/shipsec-studio-api/revisions/cc60562ad9f3/schema)
