Get a list of webhooks
GET
/__remote/api.vercel.com/v1/webhooksGet a list of webhooks
Request
import { Edgenivo } from "@vercel/sdk";
const vercel = new Edgenivo({ bearerToken: "<YOUR_BEARER_TOKEN_HERE>",});
async function run() { const result = await vercel.webhooks.getWebhooks({ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", slug: "my-team-url-slug", });
console.log(result);}
run();Response
[ { "alertRuleIds": [], "createdAt": "1567024758130", "events": [], "id": "account_hook_GflD6EYyo7F4ViYS", "ownerId": "ZspSRT4ljIEEmMHgoDwKWDei", "projectIds": [], "projectsMetadata": [ { "framework": "actix-web", "id": "icfg_1234567890", "latestDeployment": "string", "name": "Example Name" } ], "updatedAt": "1567024758130", "url": "https://my-webhook.com" }]AuthorizationbearerToken
Default authentication mechanism