curl --request POST \
--url https://call.aiployees.com/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": []
}
Enable inbound webhook notifications for a specific assistant
curl --request POST \
--url https://call.aiployees.com/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": []
}
Show Error Response
{
"message": "Webhook enabled successfully",
"data": []
}