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

# Enable assistant inbound webhook

> Enable inbound webhook notifications for a specific assistant

This endpoint enables inbound webhook notifications for an assistant, allowing you to receive real-time updates about inbound call completions and data.

### Request Body

**assistant\_id** `integer` *required*

The ID of the assistant to enable webhook for

**webhook\_url** `string` *required*

The URL where webhook notifications will be sent

### Response

**message** `string`

Success message confirming webhook was enabled

**data** `array`

Empty array (reserved for future use)

### Error Responses

**404 Not Found**

**Error Response**

**message** `string`

Error message when the assistant is not found or doesn't belong to the authenticated user

**422 Validation Error**

**Error Response**

**message** `string`

Error message indicating validation failure

**errors** `object`

Detailed validation errors for each field

```json 200 Success Response theme={null}
{
  "message": "Webhook enabled successfully",
  "data": []
}
```

```json 404 Not Found theme={null}
{
  "message": "Assistant not found"
}
```

```json 422 Validation Error theme={null}
{
  "message": "The given data was invalid.",
  "errors": {
    "assistant_id": [
      "The assistant id field is required."
    ],
    "webhook_url": [
      "The webhook url field is required."
    ]
  }
}
```


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