Get Call
curl --request GET \
--url https://api.telli.com/v1/get-call/{id} \
--header 'Authorization: <api-key>'import requests
url = "https://api.telli.com/v1/get-call/{id}"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.telli.com/v1/get-call/{id}', 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.telli.com/v1/get-call/{id}",
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: <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.telli.com/v1/get-call/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<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.telli.com/v1/get-call/{id}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.telli.com/v1/get-call/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"call": {
"call_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"attempt": 123,
"from_number": "<string>",
"to_number": "<string>",
"direction": "<string>",
"external_contact_id": "<string>",
"contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"contact_details": {},
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"triggered_at": 123,
"triggered_at_iso": "<string>",
"started_at": 123,
"started_at_iso": "<string>",
"ended_at": 123,
"ended_at_iso": "<string>",
"call_length_min": 123,
"transcript": "<string>",
"transcriptObject": [
{
"content": "<string>"
}
],
"call_analysis": {},
"call_outcome": {},
"collected_data": {},
"booked_slot_for": "<string>",
"recording_url": "<string>",
"follow_up": {
"type": "agent_follow_up",
"scheduled_at": "2023-11-07T05:31:56Z"
}
},
"contact": {
"contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"external_contact_id": "<string>",
"external_url": "<string>",
"created_at": "<string>",
"gender": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"phone_number": "<string>",
"in_call_since": "<string>",
"reached_at": "<string>",
"contact_details": {},
"call_attempts": 123,
"next_call_at": "<string>",
"email": "<string>",
"timezone": "<string>",
"salutation": "<string>"
}
}{
"message": "<string>"
}{
"message": "<string>"
}{
"message": "<string>"
}Anruf-Endpunkte
Anruf abrufen
Retrieves detailed information about a specific call by its ID, including call metadata, transcript, analysis, and the associated contact.
GET
/
v1
/
get-call
/
{id}
Get Call
curl --request GET \
--url https://api.telli.com/v1/get-call/{id} \
--header 'Authorization: <api-key>'import requests
url = "https://api.telli.com/v1/get-call/{id}"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.telli.com/v1/get-call/{id}', 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.telli.com/v1/get-call/{id}",
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: <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.telli.com/v1/get-call/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<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.telli.com/v1/get-call/{id}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.telli.com/v1/get-call/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"call": {
"call_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"attempt": 123,
"from_number": "<string>",
"to_number": "<string>",
"direction": "<string>",
"external_contact_id": "<string>",
"contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"contact_details": {},
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"triggered_at": 123,
"triggered_at_iso": "<string>",
"started_at": 123,
"started_at_iso": "<string>",
"ended_at": 123,
"ended_at_iso": "<string>",
"call_length_min": 123,
"transcript": "<string>",
"transcriptObject": [
{
"content": "<string>"
}
],
"call_analysis": {},
"call_outcome": {},
"collected_data": {},
"booked_slot_for": "<string>",
"recording_url": "<string>",
"follow_up": {
"type": "agent_follow_up",
"scheduled_at": "2023-11-07T05:31:56Z"
}
},
"contact": {
"contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"external_contact_id": "<string>",
"external_url": "<string>",
"created_at": "<string>",
"gender": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"phone_number": "<string>",
"in_call_since": "<string>",
"reached_at": "<string>",
"contact_details": {},
"call_attempts": 123,
"next_call_at": "<string>",
"email": "<string>",
"timezone": "<string>",
"salutation": "<string>"
}
}{
"message": "<string>"
}{
"message": "<string>"
}{
"message": "<string>"
}War diese Seite hilfreich?
⌘I