---
title: "addWebhook"
canonical: "https://support.appfire.com/space/CSOAP/68458882/addWebhook"
format: markdown
---
> Macro (aura-html)

See also: [Actions](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68458401)

> Macro (details)
> 
> | **Description** | Add a user defined webhook. By default, the webhook will be enabled. Use '--options disable' to disable the webhook. By default, the webhook will send a payload body as part of the post to the URL depending on the type of event. |
> | --- | --- |
> | **Required Parameters** | [name](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68459513), [url](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68458152) |
> | **Optional Parameters** | [events](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68458638), [options](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68459041) |
> | **Type** | [Create](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68455033/Action+Types#ActionTypes-Create) |
> | **Category** | [Webhooks](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68455044/Action+Categories#ActionCategories-Webhooks) |
> | **Output Formats** |  |
> | **Replacement Variables** | webhookId |
> | **Hosting** | server,datacenter |
> | **Since Version** | 9.7 |
> | **Examples** | [addWebhook](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68458176/Examples#Examples-addWebhook) |

## Related How To's

> Macro (cql-query)