Webhook Management
Update Webhook Configuration
Use this API to create or update webhook configurations.
Set the webhook URL, custom headers, and alert email settings.
Limits
- Up to 3 incoming and 5 event webhooks.
post/v3/metainfo/webhook/update_webhook
Request
- Base URLhttps://cpaaswa.netcorecloud.net/api
- URLhttps://cpaaswa.netcorecloud.net/api/v3/metainfo/webhook/update_webhook
- AuthHTTP bearer
Headers
Content-Typestring required
Example:application/json
Set to application/json for all requests with JSON bodies.
Request body
Example request
{
"type": "incoming",
"name": "ChatBot_Webhook",
"url": "https://api.example.com/webhook/incoming",
"source": "ChatBot_Service",
"headers": "{\"Content-Type\": \"application/json\"}"
}Response
Success Response
Webhook configuration updated successfully.
{
"status": "success",
"message": "Webhook updated successfully.",
"data": {
"webhook_name": "ChatBot_Webhook",
"type": "incoming"
}
}
Example response
{
"status": "success",
"message": "Webhook updated successfully.",
"data": {
"webhook_name": "ChatBot_Webhook",
"type": "incoming",
"status": "enabled"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.