Adds or replaces SIP hooks in the cache. Hooks with matching hosts (case-insensitive) will be replaced. Hosts defined in the application configuration cannot be modified. The changes take effect immediately and persist across server restarts.
Note: Secrets are NOT stored in the cache. Runtime-added hooks will
use the global hook_secret from the server configuration.
Array of hook entries with host and url fields.
200 OK - Updated list of SIP hooks400 Bad Request - If validation fails (e.g., duplicate hosts)500 Internal Server Error - If writing the cache failshost - Host pattern for matching SIP domains (case-insensitive)url - HTTPS URL to forward webhook events toauth_id - Tenant identifier for room ownershipauth_id field is required when AUTH_REQUIRED=true. It determines which tenant owns rooms created from inbound SIP calls to this host.hook_secret from server configuration.| Status | Condition |
|---|---|
400 Bad Request | Validation failed (duplicate hosts, non-HTTPS URLs, missing auth_id when required). |
405 Method Not Allowed | Attempted to modify a host defined in application config. |
500 Internal Server Error | Failed to write hooks cache. |
Request body for updating SIP hooks.
Contains a list of SIP webhook configurations to add or replace.
List of SIP hooks to add or replace. Hooks with matching hosts (case-insensitive) will be replaced.
Updated list of SIP hooks
Response body for SIP hooks operations.
List of all configured SIP hooks