VoxLink.ai

API Reference

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_idintegerrequired

The ID of the assistant to enable webhook for

webhook_urlstringrequired

The URL where webhook notifications will be sent

Response

messagestring

Success message confirming webhook was enabled

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 enabled successfully",
  "data": []
}
{
  "message": "Assistant not found"
}
{
  "message": "The given data was invalid.",
  "errors": {
    "assistant_id": [
      "The assistant id field is required."
    ],
    "webhook_url": [
      "The webhook url field is required."
    ]
  }
}

Related guides