Skip to main content

Web Hook

Create a Hook

There are two different ways to create hooks.

The first method you can create manually using the FowCRM application.

The second method is more suitable for the developer-friendly approach. You can create hooks using Open API.

First Way

Visit Settings > Customization > Webhooks.

Add Webhook

➕ Click the Add New icon.

Webhook Form

You can complete the integration by selecting the event type on the page that opens and specifying the http information you want to notify.

Second Way

Hook operations can be configured using Open Api.

For detailed documentation, visit the Hook page.

The AddHook endpoint should be used to define a hook.

Payload

{
"isActive": true,
"name": "Contact Create",
"hookRequests": [
{
"url": "https://xxxx.com",
"method": "POST",
"headerParameters": [
{
"name": "Authorization",
"value": "Bearer xxx"
}
],
"maxRetryCount": 3,
"email": "{YOUR_EMAIL_ADDRESS}"
}
]
}

URL

https://openapi.fowapps.com/crm/v1/hook/{eventName}

eventName = contact.created, lead.deleted etc.

METHOD

POST