SIP / Trunks

Update a SIP trunk

patch/api/v1/sip/trunks/{trunk_id}

Request

  • Base URL: https://api.frejun.ai
  • URL: https://api.frejun.ai/api/v1/sip/trunks/{trunk_id}
  • Auth: API key in header x-api-key

Path parameters

trunk_idstring required

Request body

namestring nullable
channel_limitinteger nullable
recordingboolean nullable
secureboolean nullable
transport'tls' | 'tcp' | 'udp'
is_activeboolean nullable
webhook_urlstring uri nullable
webhook_api_version'2025-08-01' | '2026-06-01' nullable
authentication_type'credential' | 'IP'
ip_acl_idstring nullable

ID of an IP access control list (acl_...) to authorise against, as an alternative to auth_addresses. Supplying one switches the trunk to that mode and clears the other.

secret_idstring nullable

Response

Successful Response

idstring required
namestring required
domain_namestring required
account_idstring required
channel_limitinteger nullable
cps_limitinteger required
recording_enabledboolean required
secureboolean required
transport'tls' | 'tcp' | 'udp'
is_activeboolean required
authentication_type'credential' | 'IP'
auth_ip_addressesstring[] nullable
auth_credential_usernamesstring[] nullable
ip_acl_idstring nullable

The IP access control list this trunk authorises against, if any.

ip_acl_namestring nullable
webhook_urlstring uri nullable
webhook_api_version'2025-08-01' | '2026-06-01' required
created_atstring date-time nullable
updated_atstring date-time nullable
secret_idstring nullable
secret_namestring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.