# Get a Webhook

## Get a Webhook

<mark style="color:blue;">`GET`</mark> `https://{{accountSlug}}.myeshopbox.com/api/platform/v1/client-webhook/:id`

This endpoint allows you to get a registered webhook.

#### Path Parameters

| Name | Type   | Description            |
| ---- | ------ | ---------------------- |
| id   | string | The id for the webhook |

#### Headers

| Name          | Type   | Description                                  |
| ------------- | ------ | -------------------------------------------- |
| Authorization | string | The Bearer token to grant access to the API. |

{% tabs %}
{% tab title="200 Webhook successfully retrieved." %}
```
{
          "id":"1",
          "resource": "channel_inventory",
          "eventType": "POST",
          "eventSubType": "updated",
          "version": "v1",
          "externalChannelID" : "CLARKS",
          "webhookUrl": "https://hooks.zapier.com/fake-subscription-url",
          "webhookMethod": "POST",
          "createdAt": "2020-02-27T18:32:15.528+05:30",
          "updatedAt": "2020-02-27T18:32:15.528+05:30"
}
```
{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="curl" %}
```
curl --location --request GET 'http://localhost:8080/_ah/api/esb/v1/property' \
--header 'Content-Type: application/json' \
--header 'Authorization: '
```
{% endtab %}
{% endtabs %}
