POST
/
user
/
assistants
/
enable-inbound-webhook
Enable assistant inbound webhook
curl --request POST \
  --url https://app.autocalls.ai/api/user/assistants/enable-inbound-webhook \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "assistant_id": 123,
  "webhook_url": "<string>"
}'
{
  "message": "Webhook enabled successfully",
  "data": []
}
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
422 Validation Error
{
  "message": "Webhook enabled successfully",
  "data": []
}