Clay API Docs
  1. Tables
Clay API Docs
  • Disclaimer
  • Authentication
    • Fetch Clay Cookies
      POST
  • Workspaces
    • Get All Workspaces in your account
      GET
  • Folders
    • Create a folder
      POST
    • Delete a folder
      DELETE
  • Resources
    • Fetch all resources
      POST
    • Search a resource in workspace
      POST
  • Workbooks
    • Create a Workbook
      POST
    • Delete a Workbook
      DELETE
  • Tables
    • Fetch all record ids in a table
      GET
    • Add a row in the table
      POST
    • Delete a row from the table
      DELETE
    • Delete all rows from a table
      DELETE
    • Run an enrichment column
      PATCH
    • Count number of rows in a Table
      GET
    • List all sources in a table
      GET
    • Add Webhook to a table
      PATCH
    • Delete a Source from the table
      DELETE
  • Credit Usage
    • Get a list of owners
      GET
    • Get User-Specific Credit Usage Report
      GET
    • Get User-Created Resources
      POST
    • Get Workspace Credit Usage Report
      GET
    • List all integrations
      GET
    • Get Integration Type Details
      GET
    • Get Integration-Specific Credit Usage
      GET
    • Get Integration Credit Usage Report
      GET
  1. Tables

Add Webhook to a table

PATCH
https://api.clay.com/v3/tables/{{TABLE_ID}}

Create Webhook Source in Clay Table#

Adds a webhook data source to an existing Clay table. Once created, Clay provides a unique webhook URL that can receive JSON payloads from external systems (Zapier, Make, custom scripts, etc.).

cURL#

Request

Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request PATCH 'https://api.clay.com/v3/tables/{{TABLE_ID}}' \
--header 'Cookie: {{YOUR_CLAY_COOKIES}}' \
--header 'Content-Type: application/json' \
--data-raw '{"tableSettings":{},"fieldGroupMap":{},"sourceSettings":{"addSource":{"name":"Webhook","source":{"name":"YOUR_WEBHOOK_NAME","workspaceId":"{{WORKSPACE_ID}}","type":"webhook","typeSettings":{"urlSlugText":"Pull in data from a Webhook","iconType":"Webhook","name":"Webhook","description":"Send any data to Clay","stages":[]}}}}}'
Response Response Example
{}
Modified at 2026-01-16 12:42:28
Previous
List all sources in a table
Next
Delete a Source from the table
Built with