Webhook

Life Cycle

RouteCreateReadUpdateDelete
/admin/entities/:entity-slug/webhooks
/admin/entities/:entity-slug/webhooks/new
/admin/entities/:entity-slug/webhooks/:id

Properties

NameTitleTypeDescription
entityId *EntityEntityParent Entity.
action *ActionStringCreated, Updated, Deleted row events.
method *MethodStringPOST, PUT, or DELETE.
endpoint *EndpointStringe.g. https://hooks.zapier.com/hooks/catch/122456/kdlsow
logs LogsEntityWebhookLog[]Logs HTTP status and error.

Model

model EntityWebhook {
  id       String             @id @default(cuid())
  entityId String
  entity   Entity             @relation(fields: [entityId], references: [id], onDelete: Cascade)
  action   String
  method   String
  endpoint String
  logs     EntityWebhookLog[]
}

cookies.titleSmall

cookies.descriptionSmall shared.learnMore.