> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Webhook

Establish a webhook connection.

**Note**: When subscribing to higher-level resources (e.g., Workspace, Goal, Team, Portfolio) you must specify values in the `Filters` parameter.

<Note>
  External Documentation

  To learn more, visit the [Asana documentation](https://developers.asana.com/reference/createwebhook).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter      | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
  | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Filters        | An array of objects to specify filters to apply to events from this webhook. If a webhook event passes any of the filters the event will be delivered; otherwise no event will be sent to the receiving server.<br /><br />For example:<br /><pre><code>\[<br />  \{<br />    "resource\_type": "task",<br />    "resource\_subtype": "milestone",<br />    "action": "changed"<br />  }<br />]</code></pre>For more information about the `Filters` parameter, visit [Asana API documentation](https://developers.asana.com/docs/webhooks-guide#filtering).<br /><br />**Note**: When subscribing to higher-level resources (e.g., Workspace, Goal, Team, Portfolio) you must specify values in the `Filters` parameter. |
  | Include Fields | A comma-separated list of properties to include in the response.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
  | Resource       | A resource ID to subscribe to (e.g., project ID).<br /><br />**Note**: When subscribing to higher-level resources (e.g., Workspace, Goal, Team, Portfolio) you must specify values in the `Filters` parameter.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
  | Target URL     | The URL to send the data to.<br /><br />Obtain this value by creating an Asana webhook and copying the `Webhook Full URL`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
</div>

## Example Output

```json theme={"dark"}
{
	"data": {
		"gid": "<string>",
		"resource_type": "<string>",
		"resource": {
			"gid": "<string>",
			"resource_type": "<string>",
			"name": "<string>"
		},
		"target": "<string>",
		"active": true,
		"is_workspace_webhook": false,
		"failure_deletion_timestamp": null,
		"created_at": "2006-01-26T19:51:26.429Z",
		"last_failure_at": null,
		"last_failure_content": "<string>",
		"last_success_at": "2003-11-17T03:29:40.312Z",
		"delivery_retry_count": 1,
		"next_attempt_after": null,
		"filters": [
			{
				"resource_type": "<string>",
				"resource_subtype": null,
				"action": "<string>",
				"fields": null
			}
		]
	},
	"X-Hook-Secret": "<string>"
}
```

## Workflow Library Example

[Create Webhook with Asana and Send Results Via Email](https://library.blinkops.com/workflows/create-webhook-with-asana-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/create-webhook-with-asana-and-send-results-via-email/canvas" />
</div>
