For the complete documentation index, see llms.txt. This page is also available as Markdown.

SIP IP Addresses

Add or Delete SIP IP Address

GET or POST Request

https://v1.api19.com/account/sip/ip

Add or Delete a SIP IP on an account

HTTP Post Variables Supported

Argument

Required

Type

name

yes

name this IP

ip

yes

IPV4 ip (3.3.3.3)

user_id

no

user_id to add ip to (your account is default)

type

yes

add or delete

key

yes

api key

curl https://v1.api19.com/account/sip/ip \
 -d 'key=api_token' \
 -d 'name=myip' \
 -d 'user_id=300092' \
 -d 'type=add' \
 -d 'ip=3.3.3.3'
{"status":"ok"}

OR

{"status":"error","error":"IP 3.3.3.3 already exists"}

OR

{"status":"error","error":"Invalid ip address"}

Last updated