List inbound assistants
curl --request GET \
--url https://api.qcall.ai/api/v1/inbound/list \
--header 'x-api-key: <api-key>'import requests
url = "https://api.qcall.ai/api/v1/inbound/list"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.qcall.ai/api/v1/inbound/list', 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.qcall.ai/api/v1/inbound/list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.qcall.ai/api/v1/inbound/list"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.qcall.ai/api/v1/inbound/list")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qcall.ai/api/v1/inbound/list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"name": "<string>",
"assistant_id": "<string>",
"dialer_id": "<string>",
"assistant_name": "<string>",
"phone_number": "<string>",
"incoming_count": 123,
"notification": true
}
]{
"error": 123,
"message": "<string>"
}Dialers
List Inbound
Returns all inbound assistants that the authenticated user has access to. Each inbound assistant links an assistant to a dialer phone number so that incoming calls to that number are answered by the AI assistant.
GET
/
inbound
/
list
List inbound assistants
curl --request GET \
--url https://api.qcall.ai/api/v1/inbound/list \
--header 'x-api-key: <api-key>'import requests
url = "https://api.qcall.ai/api/v1/inbound/list"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.qcall.ai/api/v1/inbound/list', 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.qcall.ai/api/v1/inbound/list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.qcall.ai/api/v1/inbound/list"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.qcall.ai/api/v1/inbound/list")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qcall.ai/api/v1/inbound/list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"name": "<string>",
"assistant_id": "<string>",
"dialer_id": "<string>",
"assistant_name": "<string>",
"phone_number": "<string>",
"incoming_count": 123,
"notification": true
}
]{
"error": 123,
"message": "<string>"
}Returns all inbound dialer that the authenticated user has access to.
Each inbound dialer links an existing assistant to a dialer phone number, so that incoming calls placed to that number are automatically answered by the AI assistant. The response includes the linked assistant name, the attached phone number, and the number of incoming calls handled.
Authorizations
Response
Inbound assistant response
Unique identifier of the inbound assistant
The display name of the inbound assistant
ID of the assistant that answers the inbound calls
ID of the dialer that provides the phone number
Name of the linked assistant
Phone number the inbound assistant is attached to
Number of incoming calls handled by this inbound assistant
Whether notifications are enabled for incoming calls handled by this inbound assistant

