Get a webhook

Get a webhook, with the secret we sign its notifications with.

GET https://{availability_zone}.betterstackcloud.com/v1/webhooks/{id}
id string required

The ID of the webhook to get.

Authorization string required

Bearer $TOKEN

200 OK
{
  "id": "example",
  "name": "Example webhook",
  "url": "https://example.com",
  "webhook_types": [
    "server"
  ],
  "status": "active",
  "failed_deliveries": 1,
  "secret": "example",
  "created_at": "2026-07-01T12:00:00.000Z",
  "updated_at": "2026-07-01T12:00:00.000Z",
  "team_id": "t123"
}

Returns the webhook.

id string

The webhook's ID, a UUID.

name string

The webhook's name.

url string

The URL we send notifications to.

webhook_types array of strings

The kinds of resources we notify about. Accepts server, snapshot, reserved_ip, network, firewall, ssh_key, placement_group, scheduled_snapshot, load_balancer, certificate, volume, volume_snapshot, scheduled_volume_snapshot, valkey, mysql, postgres, clickhouse, kafka and object_proxy. A notification names its kind in its object field.

status string

Whether we send notifications to the webhook.
Valid values:
active: We send notifications.
paused: We send no notifications until you set it back to active.

failed_deliveries integer

The number of notifications in a row that we couldn't deliver. A delivered notification resets it to 0.

secret string

The secret we sign notifications with. Each notification has an X-Signature header with sha256= followed by the HMAC-SHA256 of the body, keyed with this secret. The secret is created with the webhook, and you can get it at any time.

created_at datetime

When the webhook was created. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

updated_at datetime

When the webhook was last updated. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

team_id string

The ID of the team that owns the webhook. betterstack team list shows it.