VoxLink.ai

API Reference

Disable assistant webhook

Disable webhook notifications for a specific assistant

This endpoint disables webhook notifications for an assistant, stopping all real-time updates about call completions and data.

Request Body

assistant_idintegerrequired

The ID of the assistant to disable webhook for

Response

messagestring

Success message confirming webhook was disabled

dataarray

Empty array (reserved for future use)

Error Responses

404 Not Found

messagestring

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

422 Validation Error

messagestring

  Error message indicating validation failure

errorsobject

  Detailed validation errors for each field
{
  "message": "Webhook disabled successfully",
  "data": []
}
{
  "message": "Assistant not found"
}
{
  "message": "The given data was invalid.",
  "errors": {
    "assistant_id": [
      "The assistant id field is required."
    ]
  }
}

Webhook Behavior

When webhook is disabled:

  • The assistant will stop sending HTTP POST requests to your webhook URL
  • Both is_webhook_active is set to false and webhook_url is set to null
  • 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

Related guides