---
title: "Update a webhook"
method: PUT
path: "/v3/webhooks/{id}"
tags: ["Webhooks"]
---

# Update a webhook

`PUT /v3/webhooks/{id}`

Updates an existing webhook for the authenticated customer.

## Path parameters

- `id` string, uuid, required

## Headers

- `Idempotency-Key` string
- `x-profile-id` string, uuid

## Request body

- SentDmServicesEndpointsCustomerAPIv3RequestsWebhooksUpdateWebhookV3Request — Base request for mutation operations (POST, PUT, PATCH) with sandbox mode support
  - `sandbox` boolean — Sandbox flag - when true, the operation is simulated without side effects Useful for testing integrations without actual execution
  - `display_name` string, required
  - `endpoint_url` string
  - `event_types` string[]
  - `event_filters` object, nullable
  - `retry_count` integer
  - `timeout_seconds` integer

## Response `200`

Webhook updated successfully

- SentDmServicesEndpointsCustomerAPIv3ResponsesApiResponseOfWebhookV3Response — Standard API response envelope for all v3 endpoints
  - `success` boolean — Indicates whether the request was successful
  - `data` SentDmServicesEndpointsCustomerAPIv3ResponsesWebhookV3Response
    - `id` string, uuid
    - `display_name` string
    - `endpoint_url` string
    - `signing_secret` string, nullable
    - `is_active` boolean
    - `event_types` string[]
    - `event_filters` object, nullable
    - `retry_count` integer
    - `timeout_seconds` integer
    - `last_delivery_attempt_at` string, date-time, nullable
    - `last_successful_delivery_at` string, date-time, nullable
    - `consecutive_failures` integer
    - `created_at` string, date-time
    - `updated_at` string, date-time, nullable
  - `error` SentDmServicesEndpointsCustomerAPIv3ResponsesApiError — Error information
    - `code` string — Machine-readable error code (e.g., "RESOURCE_001")
    - `message` string — Human-readable error message
    - `details` object, nullable — Additional validation error details (field-level errors)
    - `doc_url` string, nullable — URL to documentation about this error
  - `meta` SentDmServicesEndpointsCustomerAPIv3ResponsesApiMeta — Request and response metadata
    - `request_id` string — Unique identifier for this request (for tracing and support)
    - `timestamp` string, date-time — Server timestamp when the response was generated
    - `version` string — API version used for this request

## Other responses

- `400` — Invalid request parameters
- `401` — Unauthorized - Invalid API credentials
- `403` — Forbidden
- `404` — Webhook not found
- `500` — Internal server error

---

[API](https://skmtc.net/sentdm/apis/sent-dm-api-v3.md) · [All operations](https://skmtc.net/sentdm/apis/sent-dm-api-v3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sentdm/sent-dm-api-v3/versions/c451eca46f1b/schema)
