Inbound Routing Policies
List inbound routing decisions
Returns newest-first decision logs for inbound routing policies, scoped to the authenticated account. Use these rows to audit webhook status, latency, fallback reasons, transfers, rejections, and AI session creation.
GET
/
inbound-route-decisions
List inbound routing decisions
curl --request GET \
--url https://api.vocobase.com/api/v2/inbound-route-decisions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vocobase.com/api/v2/inbound-route-decisions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vocobase.com/api/v2/inbound-route-decisions', 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://api.vocobase.com/api/v2/inbound-route-decisions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.vocobase.com/api/v2/inbound-route-decisions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.vocobase.com/api/v2/inbound-route-decisions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vocobase.com/api/v2/inbound-route-decisions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"decisions": [
{
"id": "clxdecision000108l5d8p6b2aa",
"policy_id": "clxj3rx7z000008l51s9vh3hf",
"phone_number_id": "f1a2c3d4-1111-2222-3333-444455556666",
"agent_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"selected_agent_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"provider": "plivo",
"provider_call_id": "a1b2c3d4-5e6f-7890-1234-56789abcde01",
"from_number": "+919999999999",
"to_number": "+918888888888",
"action": "ANSWER_WITH_AI",
"decision_source": "webhook",
"failure_reason": null,
"transfer_to_number": null,
"webhook_status": 200,
"webhook_latency_ms": 184,
"variables": {
"caller_type": "known"
},
"created_session_id": "f7a57c89-437a-47ad-94f1-3d5d196ea3d5",
"created_phone_call_id": "d29e4f7e-cf91-4972-a2de-d41f0e1eb67d",
"metadata": {
"policy_scope": "PHONE_NUMBER"
},
"created_at": "2026-07-06T10:00:00.000Z"
}
],
"next_cursor": null
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "agent_name is required and must be max 50 characters"
}
}{
"success": false,
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or missing API key"
}
}{
"success": false,
"error": {
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred"
}
}Authorizations
API key in format: rg_live_xxxx. Pass as a Bearer token in the Authorization header.
Query Parameters
Filter by inbound route policy ID.
Filter by DID/phone-number row ID.
Filter by final policy action. Action values supported by inbound route policy responses.
Available options:
ANSWER_WITH_AI, SELECT_AGENT, TRANSFER, REJECT Filter by inbound provider. Inbound provider currently supported by inbound routing policies.
Available options:
vobiz, plivo Page size. Defaults to 50 and is capped at 200.
Required range:
1 <= x <= 200Opaque cursor returned by the previous response.
⌘I
List inbound routing decisions
curl --request GET \
--url https://api.vocobase.com/api/v2/inbound-route-decisions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vocobase.com/api/v2/inbound-route-decisions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vocobase.com/api/v2/inbound-route-decisions', 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://api.vocobase.com/api/v2/inbound-route-decisions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.vocobase.com/api/v2/inbound-route-decisions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.vocobase.com/api/v2/inbound-route-decisions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vocobase.com/api/v2/inbound-route-decisions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"decisions": [
{
"id": "clxdecision000108l5d8p6b2aa",
"policy_id": "clxj3rx7z000008l51s9vh3hf",
"phone_number_id": "f1a2c3d4-1111-2222-3333-444455556666",
"agent_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"selected_agent_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"provider": "plivo",
"provider_call_id": "a1b2c3d4-5e6f-7890-1234-56789abcde01",
"from_number": "+919999999999",
"to_number": "+918888888888",
"action": "ANSWER_WITH_AI",
"decision_source": "webhook",
"failure_reason": null,
"transfer_to_number": null,
"webhook_status": 200,
"webhook_latency_ms": 184,
"variables": {
"caller_type": "known"
},
"created_session_id": "f7a57c89-437a-47ad-94f1-3d5d196ea3d5",
"created_phone_call_id": "d29e4f7e-cf91-4972-a2de-d41f0e1eb67d",
"metadata": {
"policy_scope": "PHONE_NUMBER"
},
"created_at": "2026-07-06T10:00:00.000Z"
}
],
"next_cursor": null
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "agent_name is required and must be max 50 characters"
}
}{
"success": false,
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or missing API key"
}
}{
"success": false,
"error": {
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred"
}
}