curl --request POST \
--url https://apiv2.vodex.ai/v1/integrations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"accountSid": "<string>",
"apiKeySid": "<string>",
"apiKeySecret": "<string>",
"authToken": "<string>",
"apiKey": "<string>",
"apiSecret": "<string>",
"terminationUri": "<string>",
"authUsername": "<string>",
"authPassword": "<string>",
"allowedIps": [
"<string>"
],
"accountId": "<string>",
"campaignId": "<string>",
"from": "<string>"
}
'import requests
url = "https://apiv2.vodex.ai/v1/integrations"
payload = {
"name": "<string>",
"accountSid": "<string>",
"apiKeySid": "<string>",
"apiKeySecret": "<string>",
"authToken": "<string>",
"apiKey": "<string>",
"apiSecret": "<string>",
"terminationUri": "<string>",
"authUsername": "<string>",
"authPassword": "<string>",
"allowedIps": ["<string>"],
"accountId": "<string>",
"campaignId": "<string>",
"from": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
accountSid: '<string>',
apiKeySid: '<string>',
apiKeySecret: '<string>',
authToken: '<string>',
apiKey: '<string>',
apiSecret: '<string>',
terminationUri: '<string>',
authUsername: '<string>',
authPassword: '<string>',
allowedIps: ['<string>'],
accountId: '<string>',
campaignId: '<string>',
from: '<string>'
})
};
fetch('https://apiv2.vodex.ai/v1/integrations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://apiv2.vodex.ai/v1/integrations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'accountSid' => '<string>',
'apiKeySid' => '<string>',
'apiKeySecret' => '<string>',
'authToken' => '<string>',
'apiKey' => '<string>',
'apiSecret' => '<string>',
'terminationUri' => '<string>',
'authUsername' => '<string>',
'authPassword' => '<string>',
'allowedIps' => [
'<string>'
],
'accountId' => '<string>',
'campaignId' => '<string>',
'from' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://apiv2.vodex.ai/v1/integrations"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"accountSid\": \"<string>\",\n \"apiKeySid\": \"<string>\",\n \"apiKeySecret\": \"<string>\",\n \"authToken\": \"<string>\",\n \"apiKey\": \"<string>\",\n \"apiSecret\": \"<string>\",\n \"terminationUri\": \"<string>\",\n \"authUsername\": \"<string>\",\n \"authPassword\": \"<string>\",\n \"allowedIps\": [\n \"<string>\"\n ],\n \"accountId\": \"<string>\",\n \"campaignId\": \"<string>\",\n \"from\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://apiv2.vodex.ai/v1/integrations")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"accountSid\": \"<string>\",\n \"apiKeySid\": \"<string>\",\n \"apiKeySecret\": \"<string>\",\n \"authToken\": \"<string>\",\n \"apiKey\": \"<string>\",\n \"apiSecret\": \"<string>\",\n \"terminationUri\": \"<string>\",\n \"authUsername\": \"<string>\",\n \"authPassword\": \"<string>\",\n \"allowedIps\": [\n \"<string>\"\n ],\n \"accountId\": \"<string>\",\n \"campaignId\": \"<string>\",\n \"from\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://apiv2.vodex.ai/v1/integrations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"accountSid\": \"<string>\",\n \"apiKeySid\": \"<string>\",\n \"apiKeySecret\": \"<string>\",\n \"authToken\": \"<string>\",\n \"apiKey\": \"<string>\",\n \"apiSecret\": \"<string>\",\n \"terminationUri\": \"<string>\",\n \"authUsername\": \"<string>\",\n \"authPassword\": \"<string>\",\n \"allowedIps\": [\n \"<string>\"\n ],\n \"accountId\": \"<string>\",\n \"campaignId\": \"<string>\",\n \"from\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"carrier": "<string>",
"name": "<string>",
"accountRef": "<string>",
"accountName": "<string>",
"status": "connected",
"lastError": "<string>",
"trunkId": "<string>",
"carrierTrunkSid": "<string>",
"terminationUri": "<string>",
"credentialFingerprint": "<string>",
"hasCredentials": true,
"secretsBackend": "secret-manager",
"provisioning": "api",
"displayName": "<string>",
"transferSupport": "supported",
"channel": "voice",
"sipUri": "<string>",
"connectedAt": 123
}{
"error": "not found"
}{
"error": "not found"
}{
"error": "not found"
}Connect a carrier account
Credentials are validated against the carrier first — a saved integration always means “these credentials worked”. One account, one integration, owning one SIP trunk; numbers are added to it over time.
The body is carrier-shaped: GET /v1/carriers names the required fields
per carrier. Twilio takes an API key pair or an account SID plus auth
token and is provisioned through its API; Exotel and Vobiz are
configured in the carrier’s portal and hand back a termination URI plus
credentials; pronto_connects is a messaging-only carrier with no trunk
and no numbers.
Credentials go to Secret Manager; only a reference and a non-reversible fingerprint are kept here.
curl --request POST \
--url https://apiv2.vodex.ai/v1/integrations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"accountSid": "<string>",
"apiKeySid": "<string>",
"apiKeySecret": "<string>",
"authToken": "<string>",
"apiKey": "<string>",
"apiSecret": "<string>",
"terminationUri": "<string>",
"authUsername": "<string>",
"authPassword": "<string>",
"allowedIps": [
"<string>"
],
"accountId": "<string>",
"campaignId": "<string>",
"from": "<string>"
}
'import requests
url = "https://apiv2.vodex.ai/v1/integrations"
payload = {
"name": "<string>",
"accountSid": "<string>",
"apiKeySid": "<string>",
"apiKeySecret": "<string>",
"authToken": "<string>",
"apiKey": "<string>",
"apiSecret": "<string>",
"terminationUri": "<string>",
"authUsername": "<string>",
"authPassword": "<string>",
"allowedIps": ["<string>"],
"accountId": "<string>",
"campaignId": "<string>",
"from": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
accountSid: '<string>',
apiKeySid: '<string>',
apiKeySecret: '<string>',
authToken: '<string>',
apiKey: '<string>',
apiSecret: '<string>',
terminationUri: '<string>',
authUsername: '<string>',
authPassword: '<string>',
allowedIps: ['<string>'],
accountId: '<string>',
campaignId: '<string>',
from: '<string>'
})
};
fetch('https://apiv2.vodex.ai/v1/integrations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://apiv2.vodex.ai/v1/integrations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'accountSid' => '<string>',
'apiKeySid' => '<string>',
'apiKeySecret' => '<string>',
'authToken' => '<string>',
'apiKey' => '<string>',
'apiSecret' => '<string>',
'terminationUri' => '<string>',
'authUsername' => '<string>',
'authPassword' => '<string>',
'allowedIps' => [
'<string>'
],
'accountId' => '<string>',
'campaignId' => '<string>',
'from' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://apiv2.vodex.ai/v1/integrations"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"accountSid\": \"<string>\",\n \"apiKeySid\": \"<string>\",\n \"apiKeySecret\": \"<string>\",\n \"authToken\": \"<string>\",\n \"apiKey\": \"<string>\",\n \"apiSecret\": \"<string>\",\n \"terminationUri\": \"<string>\",\n \"authUsername\": \"<string>\",\n \"authPassword\": \"<string>\",\n \"allowedIps\": [\n \"<string>\"\n ],\n \"accountId\": \"<string>\",\n \"campaignId\": \"<string>\",\n \"from\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://apiv2.vodex.ai/v1/integrations")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"accountSid\": \"<string>\",\n \"apiKeySid\": \"<string>\",\n \"apiKeySecret\": \"<string>\",\n \"authToken\": \"<string>\",\n \"apiKey\": \"<string>\",\n \"apiSecret\": \"<string>\",\n \"terminationUri\": \"<string>\",\n \"authUsername\": \"<string>\",\n \"authPassword\": \"<string>\",\n \"allowedIps\": [\n \"<string>\"\n ],\n \"accountId\": \"<string>\",\n \"campaignId\": \"<string>\",\n \"from\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://apiv2.vodex.ai/v1/integrations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"accountSid\": \"<string>\",\n \"apiKeySid\": \"<string>\",\n \"apiKeySecret\": \"<string>\",\n \"authToken\": \"<string>\",\n \"apiKey\": \"<string>\",\n \"apiSecret\": \"<string>\",\n \"terminationUri\": \"<string>\",\n \"authUsername\": \"<string>\",\n \"authPassword\": \"<string>\",\n \"allowedIps\": [\n \"<string>\"\n ],\n \"accountId\": \"<string>\",\n \"campaignId\": \"<string>\",\n \"from\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"carrier": "<string>",
"name": "<string>",
"accountRef": "<string>",
"accountName": "<string>",
"status": "connected",
"lastError": "<string>",
"trunkId": "<string>",
"carrierTrunkSid": "<string>",
"terminationUri": "<string>",
"credentialFingerprint": "<string>",
"hasCredentials": true,
"secretsBackend": "secret-manager",
"provisioning": "api",
"displayName": "<string>",
"transferSupport": "supported",
"channel": "voice",
"sipUri": "<string>",
"connectedAt": 123
}{
"error": "not found"
}{
"error": "not found"
}{
"error": "not found"
}Authorizations
Tenant API key (vdx_live_…) as Authorization: Bearer.
Body
twilio, vonage, exotel, vobiz, sip-gateway, pronto_connects Twilio.
Twilio.
Twilio.
Twilio — alternative to the key pair.
Vonage / Pronto.
Vonage.
Manually provisioned carriers.
Pronto.
Pronto.
Pronto default sender (E.164).
Response
Connected.
Twilio Account SID or carrier SIP host — safe to show.
connected, error The trunk id inside the carrier's account (API-provisioned carriers).
Non-reversible; for display and audit only.
"secret-manager"
api, manual supported, verify, unsupported An sms integration has no trunk and no numbers.
voice, sms