Map ACL to Trunk (Whitelist IP)
Registers your server's public IP address for authentication. This is required for Outbound/Termination calls - allowing your system to send calls through the trunk.
ACL (Access Control List) ensures only authorized IP addresses can use your trunk for outbound calling.
HTTP Request
Request Headers
Header | Value |
|---|---|
Content-Type | application/json |
Request Parameters
Parameter Name | Mandatory/Optional | Value |
|---|---|---|
ip | Mandatory | String; Your server's public IP address. Must be a valid IPv4 address. Example: 44.248.146.11, 203.0.113.50 |
mask | Optional | Integer; Subnet mask in CIDR notation. Default: 32(single IP). Use 24for /24 subnet, 16for /16 subnet. Example: 32, 24 |
Example Request
HTTP Response
On success, the HTTP response status code will be 200 OK.
Example Response
Response Parameters
Parameter Name | Type & Value |
|---|---|
id | String; Unique identifier for this ACL entry. Example: 1153 |
ip | String; The whitelisted IP address |
mask | Integer; Subnet mask in CIDR notation |
trunk_sid | String; The trunk this ACL is associated with |
friendly_name | String or null; Optional friendly name for the IP |
date_created | String; ISO 8601 timestamp when ACL was created |
date_updated | String; ISO 8601 timestamp when ACL was last updated |