Skip to main content

webhooks

Overview

Namewebhooks
TypeResource
Idvercel.webhooks.webhooks

Fields

NameDatatypeDescription
idstringThe webhook id
createdAtnumberA number containing the date when the webhook was created in in milliseconds
eventsarrayThe webhooks events
ownerIdstringThe unique ID of the team the webhook belongs to
projectIdsarrayThe ID of the projects the webhook is associated with
updatedAtnumberA number containing the date when the webhook was updated in in milliseconds
urlstringA string with the URL of the webhook

Methods

NameAccessible byRequired ParamsDescription
get_webhookSELECTid, teamIdGet a webhook
get_webhooksSELECTteamIdGet a list of webhooks
create_webhookINSERTteamId, data__events, data__urlCreates a webhook
delete_webhookDELETEid, teamIdDeletes a webhook