Use webhook with api_token & id

Hi there,
Would like to pass all my form leads to a CRM system using webhook. But I couldn’t make it work. It only works under following custom HTML.

<form action=""  id="myForm" method="post">
<input name="api_id" type="text" value="idcode">
<input name="api_token" type="text" value="tokenkey">
<input name="name" type="text" value="test12553 asfdsfdsf">
<input name="contact" type="text" value="012356464799">
<input name="email" type="text" value="">
<input name="address" type="text" value="123212312,123123423123,23213,21321313,gfdgfdg">
<input name="product_name" type="text" value="PRODUCTNAME">
<input name="submit" type="submit" value="submit" />

I have tried both following method in the webhook still not work for me…

  2. POST URL “
    place api_id & api_token in the custom fields

What would be the correct way to work this out?

Hey @EddiejrWong,

The HTML you’ve shared seems to be from another form on another page. Just because you have an endpoint (api_case_submit.php) that doesn’t automatically mean that end point can accept webhooks.

Further more, even if it can accept webhooks, it would probably need the data in a specific format.

Last but not least, I see a field for an api_token. Tokens are usually generated when they are needed and can expire.

You should contact your CRM vendor and ask for detailed documentation on how to send leads with a webhook.

Based on my experience, in 95% of the cases, you would need to introduce a middle step, that would accept the webhook from Unbounce, authenticate with your CRM and forward the form’s data.