CreateWebhookResponseBody

August 18, 2026 ยท View on GitHub

Example Usage

import { CreateWebhookResponseBody } from "@vercel/sdk/models/createwebhookop.js";

let value: CreateWebhookResponseBody = {
  secret: "<value>",
  events: [
    "deployment.created",
  ],
  id: "account_hook_GflD6EYyo7F4ViYS",
  url: "https://my-webhook.com",
  ownerId: "ZspSRT4ljIEEmMHgoDwKWDei",
  createdAt: 1567024758130,
  updatedAt: 1567024758130,
  projectIds: [
    "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB",
  ],
};

Fields

FieldTypeRequiredDescriptionExample
secretstring:heavy_check_mark:The webhook secret used to sign the payload
alertRuleIdsstring[]:heavy_minus_sign:N/A
eventsmodels.CreateWebhookWebhooksEvents[]:heavy_check_mark:The webhooks eventsdeployment.created
idstring:heavy_check_mark:The webhook idaccount_hook_GflD6EYyo7F4ViYS
urlstring:heavy_check_mark:A string with the URL of the webhookhttps://my-webhook.com
ownerIdstring:heavy_check_mark:The unique ID of the team the webhook belongs toZspSRT4ljIEEmMHgoDwKWDei
createdAtnumber:heavy_check_mark:A number containing the date when the webhook was created in in milliseconds1567024758130
updatedAtnumber:heavy_check_mark:A number containing the date when the webhook was updated in in milliseconds1567024758130
projectIdsstring[]:heavy_minus_sign:The ID of the projects the webhook is associated with[
"prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB"
]