FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
shouser
shouserproject_updates_webhook
Example with client-side React & Hono server
Public
Like
project_updates_webhook
Home
Code
4
backend
4
frontend
4
shared
2
README.md
Branches
7
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in miliseconds.
Sign up now
Code
/
Code
/
Search
index.ts
https://shouser--4146b22600e911f0a035569c3dd06744.web.val.run
README.md

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
  }>
}
HTTP
  • index.ts
    shouser--41…44.web.val.run
Cron
  • eventsManager.ts
Code
backendfrontendsharedREADME.md
Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.