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

# Get Webhook

### URL Parameters

**webhookId** `string` *required*

The unique identifier of the webhook

### Response

**success** `boolean`

Indicates if the request was successful

**message** `string`

A message describing the result of the operation

**data** `object`

The webhook object

**Properties**

**id** `string`

Unique identifier for the webhook

**url** `string`

URL where webhook events will be sent

**secret** `string`

Secret key for webhook verification

**customHeaders** `array`

Array of custom headers

**Header Object**

**key** `string`

Header key

**value** `string`

Header value

**headers** `array`

Array of default headers

**Header Object**

**key** `string`

Header key

**value** `string`

Header value

**authMethod** `object`

Authentication method configuration

**Properties**

**method** `string`

Authentication method type (hmac, api\_key, or basic)

**hmacHeader** `string`

Custom header name for HMAC signature (if method is hmac)

**hmacSecret** `string`

Secret used for HMAC signature generation (if method is hmac)

**apiKey** `string`

API key value (if method is api\_key)

**apiKeyHeader** `string`

Custom header name for API key (if method is api\_key)

**userName** `string`

Username for basic authentication (if method is basic)

**password** `string`

Password for basic authentication (if method is basic)

**createdAt** `string`

Timestamp when the webhook was created

**updatedAt** `string`

Timestamp when the webhook was last updated

### Response Example

```json theme={null}
{
  "success": true,
  "message": "Webhook retrieved successfully",
  "data": {
    "id": "wh_01JT39T79CFY20Z7G0M2KC4HVC",
    "name": "heelo",
    "url": "https://exp.com",
    "secret": "01JT39T79HMJHEYQ9FXZ9VM2XC",
    "customHeaders": [
      {
        "key": "x-app",
        "value": "x-value"
      }
    ],
    "headers": [
      {
        "key": "Content-Type",
        "value": "application/json"
      }
    ],
    "authMethod": {
      "hmacHeader": "x-Vartiq-signature",
      "hmacSecret": "uPvKnaxMwD1gHs1uFNJh-UEn3D5ha5WZcS3WTMVUExY",
      "method": "hmac"
    },
    "createdAt": "2025-04-30T12:12:45.756Z",
    "updatedAt": "2025-04-30T12:12:45.756Z"
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.