# Subscribe to an Event

<mark style="color:green;">`POST`</mark> `https://ext-v2.smarttask.io/v{api_version}/webhook/subscribe/{your_app_name}`

#### Path Parameters

| Name            | Type   | Description     |
| --------------- | ------ | --------------- |
| your\_app\_name | string | Your App's name |
| api\_version    | string | 1.0             |

#### Headers

| Name           | Type   | Description         |
| -------------- | ------ | ------------------- |
| Authentication | string | Bearer Access Token |

#### Request Body

* Please refer to [webhook](https://dev.smarttask.io/models/webhook "mention")
* Please confirm the required fields for different type of events

{% tabs %}
{% tab title="201 Webhook Accepted. Returns WebhookId which you can utilize for un-subscription from the webhook" %}

```
{id: 12551}
```

{% endtab %}

{% tab title="404 We don't accept such an event name" %}

```
```

{% endtab %}
{% endtabs %}
