Skip to main content
POST
/
api
/
v2
/
sip
/
ipWhitelist
Add IP to 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"
    }
  ]
}

Authorizations

token
string
query
required

Vida API Token

Body

application/json
ip
string
required

IP address to whitelist

Example:

"192.168.1.1"

label
string
required

Friendly label for IP

Example:

"Office IP"

Response

OK