Public
Set up your own Clay proxy
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.

Clay API + SDK

Setup your own API / SDK to enrich data with Clay.

Setup

  1. Remix this val

  2. Set up a Clay workbook with both a Webhook column and an HTTP API column (or use this template)

  3. Copy your Clay workbook's Webhook column URL

    CleanShot 2025-08-08 at 13.23.47@2x.png

  4. Set that as CLAY_WEBHOOK_URL in this val's Environment variables on the left sidebar

  5. Copy main.tsx's HTTP endpoint URL CleanShot 2025-08-08 at 16.22.25@2x 1.png

  6. Paste that in the HTTP API column in Clay, with /clay-webhook on the end of it

  7. Try it out: click Run in demo.ts