# Update webhook
Requires Paid plan

# HTTP method: POST

https://api.sender.net/v2/account/webhooks/{id}

Updates a webhook’s properties such as URL, topic, relation_id, or status.

id string required

The ID of the webhook you want to update.

topic string

The new topic for the webhook. Must be one of the supported topics.

  • campaigns/new
  • groups/new-subscriber
  • groups/new
  • groups/unsubscribed
  • subscribers/unsubscribed
  • subscribers/new
  • subscribers/updated
  • bounces/new

relation_id string

Required if the selected topic is 'groups/new-subscriber' or 'groups/unsubscribed'.

url string

The new webhook URL.

status string

The new status of the webhook. Can be 'ACTIVE' or 'PAUSED'.

  • ACTIVE
  • PAUSED

Code snippets

Response example

{
  "id": "1829",
  "account_id": "egy29b",
  "url": "https://hooks.zapier.com/hooks/catch/12345",
  "topic": "campaigns/new",
  "group": null,
  "total_deliveries": 117,
  "total_failures": 0,
  "response_time": 172,
  "status": "PAUSED"
}