Add an IP access control rule to restrict SIP trunk access.
curl --request POST \
--url https://api.vobiz.ai/api/v1/account/{auth_id}/ip-acl \
--header 'Content-Type: application/json' \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>' \
--data '
{
"name": "Office IP"
}
'{
"id": "aabbccdd-1234-5678-90ab-cdef12345678",
"account_id": "MA_XXXXXXXX",
"ip_address": "10.20.30.0/24",
"description": "",
"enabled": true,
"created_at": "2026-03-25T10:00:00Z",
"updated_at": "2026-03-25T10:00:00Z"
}Documentation Index
Fetch the complete documentation index at: https://docs.vobiz.ai/llms.txt
Use this file to discover all available pages before exploring further.
POST https://api.vobiz.ai/api/v1/account/{auth_id}/ip-acl
X-Auth-ID - Your account Auth IDX-Auth-Token - Your account Auth TokenContent-Type: application/json| Field | Type | Required | Description |
|---|---|---|---|
ip_address | string | Yes | IPv4 address in dotted-decimal notation (e.g., 203.0.113.50). Must be a valid IPv4 address. |
enabled | boolean | No | Whether the IP ACL entry is active. Default: true. Set to false to create a disabled entry. |
description | string | No | Optional description with context about the IP address, such as “Office static IP”, “PBX server”, or “Carrier connection”. |
id UUID and timestamps.
{
"id": "aabbccdd-1234-5678-90ab-cdef12345678",
"account_id": "",
"ip_address": "10.20.30.0/24",
"description": "",
"enabled": true,
"created_at": "2026-05-12T05:11:51Z",
"updated_at": "2026-05-12T05:11:51Z"
}
curl -X POST https://api.vobiz.ai/api/v1/account/{auth_id}/ip-acl \
-H "X-Auth-ID: YOUR_AUTH_ID" \
-H "X-Auth-Token: YOUR_AUTH_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"ip_address": "203.0.113.50",
"description": "Office static IP",
"enabled": true
}'
curl -X POST https://api.vobiz.ai/api/v1/account/{auth_id}/ip-acl \
-H "X-Auth-ID: YOUR_AUTH_ID" \
-H "X-Auth-Token: YOUR_AUTH_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"ip_address": "198.51.100.42",
"description": "FreePBX server in data center",
"enabled": true
}'
{
"error": "Invalid IP address format",
"code": 400
}
id for future operationscurl https://api.ipify.orgYour Vobiz account Auth ID
Your Vobiz account Auth Token
Your account Auth ID
"MA_XXXXXX"
Was this page helpful?
curl --request POST \
--url https://api.vobiz.ai/api/v1/account/{auth_id}/ip-acl \
--header 'Content-Type: application/json' \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>' \
--data '
{
"name": "Office IP"
}
'{
"id": "aabbccdd-1234-5678-90ab-cdef12345678",
"account_id": "MA_XXXXXXXX",
"ip_address": "10.20.30.0/24",
"description": "",
"enabled": true,
"created_at": "2026-03-25T10:00:00Z",
"updated_at": "2026-03-25T10:00:00Z"
}