Specific Call
curl --request GET \
--url https://svalync.com/api/voiceai/specific-call \
--header 'x-api-key: <x-api-key>'import requests
url = "https://svalync.com/api/voiceai/specific-call"
headers = {"x-api-key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
fetch('https://svalync.com/api/voiceai/specific-call', 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://svalync.com/api/voiceai/specific-call",
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: <x-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://svalync.com/api/voiceai/specific-call"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<x-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://svalync.com/api/voiceai/specific-call")
.header("x-api-key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://svalync.com/api/voiceai/specific-call")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<x-api-key>'
response = http.request(request)
puts response.read_body{
"response": [
{
"success": true,
"data": {
"id": "<string>",
"agentId": "<string>",
"pathways": "<string>",
"callDuration": 123,
"call_id": "<string>",
"batch_id": "<string>",
"callType": "<string>",
"userId": "<string>",
"to_phone_number": "<string>",
"from_phone_number": "<string>",
"tokens_consumed": 123,
"status": "<string>",
"transcripts": "<string>",
"summary": "<string>",
"startedAt": "<string>",
"endedAt": "<string>",
"endedBy": "<string>",
"userData": {
"var": "<string>",
"name": "<string>",
"var2": "<string>"
},
"createdAt": "<string>",
"updatedAt": "<string>",
"isTestMode": true,
"agent": {
"name": "<string>"
}
}
}
]
}Calls
Specific Call
Retrieve detailed information about a specific AI-driven phone call, including its purpose, actions, and any modifications made to meet the objective.
GET
/
voiceai
/
specific-call
Specific Call
curl --request GET \
--url https://svalync.com/api/voiceai/specific-call \
--header 'x-api-key: <x-api-key>'import requests
url = "https://svalync.com/api/voiceai/specific-call"
headers = {"x-api-key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
fetch('https://svalync.com/api/voiceai/specific-call', 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://svalync.com/api/voiceai/specific-call",
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: <x-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://svalync.com/api/voiceai/specific-call"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<x-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://svalync.com/api/voiceai/specific-call")
.header("x-api-key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://svalync.com/api/voiceai/specific-call")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<x-api-key>'
response = http.request(request)
puts response.read_body{
"response": [
{
"success": true,
"data": {
"id": "<string>",
"agentId": "<string>",
"pathways": "<string>",
"callDuration": 123,
"call_id": "<string>",
"batch_id": "<string>",
"callType": "<string>",
"userId": "<string>",
"to_phone_number": "<string>",
"from_phone_number": "<string>",
"tokens_consumed": 123,
"status": "<string>",
"transcripts": "<string>",
"summary": "<string>",
"startedAt": "<string>",
"endedAt": "<string>",
"endedBy": "<string>",
"userData": {
"var": "<string>",
"name": "<string>",
"var2": "<string>"
},
"createdAt": "<string>",
"updatedAt": "<string>",
"isTestMode": true,
"agent": {
"name": "<string>"
}
}
}
]
}Authorization
string
required
Your Api Key
Params
string
required
The unique identifier for the specific call.
Response
array
Show properties
Show properties
boolean
Indicates if the request was successful.
object
The created agent object containing all the input fields.
Show properties
Show properties
string
Unique identifier for the created agent.
string
The identifier for the agent handling the call.
string
Pathways information if applicable.
integer
The duration of the call in seconds.
string
The unique identifier for the call.
string
The batch ID associated with the call.
string
The type of call made.
string
The user identifier associated with the call.
string
The recipient phone number of the call.
string
The originating phone number of the call.
integer
The number of tokens consumed during the call.
string
The current status of the call.
string
The transcript of the call conversation.
string
A summarized text of the call interaction.
string
The timestamp when the call started.
string
The timestamp when the call ended.
string
Identifier of who ended the call.
object
string
The timestamp when the call was created.
string
The timestamp when the call was last updated.
boolean
Indicates whether the call was in test mode.
⌘I