Skip to main content
POST
Create a VoIP account

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Organization-Id
string

ID da organização para contexto (opcional). Quando presente, filtra recursos da org.

Body

application/json
display_name
string
required

Nome de exibição da conta

server
string
required

Servidor SIP (host)

username
string
required

Usuário SIP

password
string
required

Senha SIP

port
integer
default:443

Porta do servidor SIP

transport
enum<string>
default:wss
Available options:
wss,
ws,
tcp,
udp
register_uri
string | null

Override opcional para o REGISTER (ex.: 'sip:reg.pbx.com:5061'). Quando vazio, o REGISTER vai para o server.

outbound_proxy
string | null

Override opcional do próximo salto físico (ex.: 'sbc.provedor.com:5060'). Quando vazio, o cliente conecta direto no server.

Response

Conta VoIP criada

id
integer
display_name
string
server
string
port
integer
username
string
password
string
transport
enum<string>
Available options:
wss,
ws,
tcp,
udp
is_active
boolean
user_id
string
org_id
string | null
register_uri
string | null
outbound_proxy
string | null
created_at
string<date-time>
updated_at
string<date-time>