This endpoint enables inbound webhook notifications for an assistant, allowing you to receive real-time updates about inbound call completions and data.
Request Body
The ID of the assistant to enable webhook for
The URL where webhook notifications will be sent
Response
Success message confirming webhook was enabled
Empty array (reserved for future use)
Error Responses
Error message when the assistant is not found or doesn’t belong to the authenticated user
Error message indicating validation failure
Detailed validation errors for each field
200 Success Response
404 Not Found
422 Validation Error
{
"message" : "Webhook enabled successfully" ,
"data" : []
}