Ive been trying to add a webhook that will insert a record into a table. For testing purposes I used curl with the following command:
curl -X POST “https://[host]/api/v2/tables/mxc1z2vd1uggk20/records” -H “xc-token: [token]” -H “Content-Type: application/json” -d “{"Title":"Phil","Date":"2025-06-12","Engagement Type":"DM","Purpose":"Initial Contact","Notes":"This was sent manually"}”
I get a response of {“Id”:5}.
When I configure the Webhooks interface, same URL, Header with xc-token and Content-type, and sample payload
{
“Title”: “Webhook Test”,
“Date”: “2025-06-12”,
“Engagement Type”: “DM”,
“Purpose”: “Intro”,
“Notes”: “Testing fully static payload from webhook”
}
I hit the Test Webhook, I get the “Cannot read properties of undefined (reading ‘rows’)” response.
How are you creating your webhook? On the UI or using API?
It is not required to explicitly set “xc-token” in the header when setting up your webhook. If it’s feasible, can you send a screenshot of your configuration?
Sample payload is just for reference. It should not have been editable.
In self-hosted setup, webhook body is pre-configured (and will match Sample Payload) always. Webhook body is configurable only in Self hosted enterprise plans & Cloud hosted plans.
We have noted down the error & that will be fixed in our next release.