webhooks
Overview
Name | webhooks |
Type | Resource |
Id | vercel.webhooks.webhooks |
Fields
Name | Datatype | Description |
---|---|---|
id | string | The webhook id |
createdAt | number | A number containing the date when the webhook was created in in milliseconds |
events | array | The webhooks events |
ownerId | string | The unique ID of the team the webhook belongs to |
projectIds | array | The ID of the projects the webhook is associated with |
updatedAt | number | A number containing the date when the webhook was updated in in milliseconds |
url | string | A string with the URL of the webhook |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_webhook | SELECT | id, teamId | Get a webhook |
get_webhooks | SELECT | teamId | Get a list of webhooks |
create_webhook | INSERT | teamId, data__events, data__url | Creates a webhook |
delete_webhook | DELETE | id, teamId | Deletes a webhook |