Public
Example with client-side React & Hono server
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.

Webhooks for Project File Creation/Deletion

Register a webhook to recieve a file creation or file deletion summary event once an hour.

Beware that this is truly simple, there's no retry management, authentication or way to delete the webhook at the moment. If you want to get both events sent to one webhook, you'll need to fill out the form twice.

File Creation Event

{
  event: "FilesCreated",
  projectId: string,
  files: Array<{
    id: string,
    name: string,
    path: string,
    type: string,
    updatedAt: string  // ISO date string
  }>
}

File Deletion Event

{
  event: "FilesDeleted",
  projectId: string,
  files: Array<{
    id: string,
    name: string,
    path: string,
    type: string,
    updatedAt: string  // ISO date string
  }>
}