curl --request POST \
--url 'https://api.vida.dev/api/v2/sip/ipWhitelist?token=' \
--header 'Content-Type: application/json' \
--data '
{
"ip": "192.168.1.1",
"label": "Office IP"
}
'{
"success": true,
"message": "IP entry created successfully",
"whitelist": [
{
"userId": 3,
"label": "Office IP",
"timestamp": 1678829072,
"ip": "192.168.1.1"
}
]
}Add a new IP address to your SIP IP whitelist.
curl --request POST \
--url 'https://api.vida.dev/api/v2/sip/ipWhitelist?token=' \
--header 'Content-Type: application/json' \
--data '
{
"ip": "192.168.1.1",
"label": "Office IP"
}
'{
"success": true,
"message": "IP entry created successfully",
"whitelist": [
{
"userId": 3,
"label": "Office IP",
"timestamp": 1678829072,
"ip": "192.168.1.1"
}
]
}