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

# Get Webhook

> Get configuration details for a specific webhook by ID

## Path Parameters

**webhook\_id** `number` *required*

The webhook id

## Query Parameters

**api\_key** `string` *required*

Your SmartLead API key

## Request Body

> [!NOTE]
>
> No request body required

```bash cURL theme={null}
curl "https://server.smartlead.ai/api/v1/webhook/{webhook_id}?api_key=YOUR_KEY"
```

```python Python theme={null}
import requests

API_KEY = "YOUR_API_KEY"

response = requests.get(
    "https://server.smartlead.ai/api/v1/webhook/{webhook_id}",
    params={"api_key": API_KEY}
)

result = response.json()
print(result)
```

```javascript JavaScript theme={null}
const API_KEY = 'YOUR_API_KEY';

const response = await fetch(
  `https://server.smartlead.ai/api/v1/webhook/${webhook_id}?api_key=${API_KEY}`
);

const result = await response.json();
console.log(result);
```

## Response Codes

**200** `Success`

Request successful

**400** `Bad Request`

Invalid request parameters or malformed request body

**401** `Unauthorized`

Invalid or missing API key. Check your authentication.

**404** `Not Found`

The requested resource (campaign, lead, email account, etc.) does not exist or you don't have access to it

**422** `Validation Error`

Request validation failed. Check parameter types, required fields, and value constraints.

**429** `Rate Limit Exceeded`

Too many requests. Please slow down and retry after the rate limit resets.

**500** `Internal Server Error`

Server error occurred. Please try again or contact support if the issue persists.

**503** `Service Unavailable`

API is temporarily unavailable or under maintenance. Please try again later.

```json 200 - Success theme={null}
{
  "ok": true,
  "data": {
    "id": 456,
    "email_campaign_id": 123,
    "name": "Campaign Analytics Webhook",
    "webhook_url": "https://your-server.com/webhooks/smartlead",
    "event_type_map": {
      "EMAIL_SENT": true,
      "EMAIL_OPEN": true,
      "EMAIL_LINK_CLICK": true,
      "EMAIL_REPLY": true
    },
    "category_id_map": {},
    "created_at": "2026-03-15T10:30:00Z",
    "updated_at": "2026-03-20T14:22:00Z"
  }
}
```

```json 401 - Unauthorized theme={null}
{
  "message": "Invalid API Key"
}
```

```json 404 - Not Found theme={null}
{
  "error": "Resource not found"
}
```

```json 422 - Validation Error theme={null}
{
  "error": "Invalid parameters provided"
}
```

## Related Endpoints

* [Create Webhook](https://api.smartlead.ai/api-reference/webhooks/create.md)
* [Update Webhook](https://api.smartlead.ai/api-reference/webhooks/update.md)
* [Delete Webhook](https://api.smartlead.ai/api-reference/webhooks/delete.md)
* [Webhook Events](https://api.smartlead.ai/api-reference/webhooks/events.md)


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