Assistants
Disable assistant webhook
Disable webhook notifications for a specific assistant
POST
/ user / assistants / disable-webhook
This endpoint disables webhook notifications for an assistant, stopping all real-time updates about call completions and data.
Request Body
assistant_id integer required
The ID of the assistant to disable webhook for
Response
message string
Success message confirming webhook was disabled
data array
Empty array (reserved for future use)
Error Responses
404 Not Found
message string
Error message when the assistant is not found or doesn’t belong to the authenticated user
422 Validation Error
message string
Error message indicating validation failure
errors object
Detailed validation errors for each field
Webhook Behavior
When webhook is disabled:
- The assistant will stop sending HTTP POST requests to your webhook URL
- Both
is_webhook_activeis set tofalseandwebhook_urlis set tonull - Any ongoing calls will complete normally, but no webhook notifications will be sent
- Call data will still be available through the API calls endpoints
Notes
- The assistant must belong to the authenticated user
- This completely removes the webhook configuration from the assistant
- You can later re-enable webhooks using the enable webhook endpoint with a new URL
- Disabling webhooks does not affect call recording or data collection