Aramaları listele
curl --request GET \
--url https://app.whattalk.ai/api/user/callsimport requests
url = "https://app.whattalk.ai/api/user/calls"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.whattalk.ai/api/user/calls', 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://app.whattalk.ai/api/user/calls",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://app.whattalk.ai/api/user/calls"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.whattalk.ai/api/user/calls")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.whattalk.ai/api/user/calls")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"current_page": 1,
"data": [
{
"id": 123,
"assistant_name": "Sales Assistant",
"campaign_name": "Q4 Outreach Campaign",
"type": "outbound",
"duration": 245,
"assistant_phone_number": "+1234567890",
"client_phone_number": "+1987654321",
"status": "completed",
"transcript": "Hello, this is Sarah from WhatTalk. How are you doing today?...",
"variables": {
"customer_name": "John Smith",
"interest_level": "high",
"follow_up_date": "2025-08-15"
},
"evaluation": {
"sentiment": "positive",
"outcome": "qualified_lead",
"score": 8.5
},
"webhook_response": {
"status": "success",
"data": {
"crm_contact_id": "abc123"
}
},
"carrier_cost": 0.02,
"total_cost": 0.025,
"answered_by": "human",
"recording_url": "https://recordings.whattalk.ai/calls/123.mp3",
"created_at": "2025-08-04 14:30:00",
"updated_at": "2025-08-04 14:34:05"
}
],
"first_page_url": "https://app.whattalk.ai/api/user/calls?page=1",
"from": 1,
"last_page": 10,
"last_page_url": "https://app.whattalk.ai/api/user/calls?page=10",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "https://app.whattalk.ai/api/user/calls?page=1",
"label": "1",
"active": true
},
{
"url": "https://app.whattalk.ai/api/user/calls?page=2",
"label": "2",
"active": false
}
],
"next_page_url": "https://app.whattalk.ai/api/user/calls?page=2",
"path": "https://app.whattalk.ai/api/user/calls",
"per_page": 15,
"prev_page_url": null,
"to": 15,
"total": 150
}
Aramalar
Aramaları listele
Kimliği doğrulanmış kullanıcının tüm aramalarını filtreleme seçenekleriyle listeleyin
GET
/
user
/
calls
Aramaları listele
curl --request GET \
--url https://app.whattalk.ai/api/user/callsimport requests
url = "https://app.whattalk.ai/api/user/calls"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.whattalk.ai/api/user/calls', 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://app.whattalk.ai/api/user/calls",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://app.whattalk.ai/api/user/calls"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.whattalk.ai/api/user/calls")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.whattalk.ai/api/user/calls")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"current_page": 1,
"data": [
{
"id": 123,
"assistant_name": "Sales Assistant",
"campaign_name": "Q4 Outreach Campaign",
"type": "outbound",
"duration": 245,
"assistant_phone_number": "+1234567890",
"client_phone_number": "+1987654321",
"status": "completed",
"transcript": "Hello, this is Sarah from WhatTalk. How are you doing today?...",
"variables": {
"customer_name": "John Smith",
"interest_level": "high",
"follow_up_date": "2025-08-15"
},
"evaluation": {
"sentiment": "positive",
"outcome": "qualified_lead",
"score": 8.5
},
"webhook_response": {
"status": "success",
"data": {
"crm_contact_id": "abc123"
}
},
"carrier_cost": 0.02,
"total_cost": 0.025,
"answered_by": "human",
"recording_url": "https://recordings.whattalk.ai/calls/123.mp3",
"created_at": "2025-08-04 14:30:00",
"updated_at": "2025-08-04 14:34:05"
}
],
"first_page_url": "https://app.whattalk.ai/api/user/calls?page=1",
"from": 1,
"last_page": 10,
"last_page_url": "https://app.whattalk.ai/api/user/calls?page=10",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "https://app.whattalk.ai/api/user/calls?page=1",
"label": "1",
"active": true
},
{
"url": "https://app.whattalk.ai/api/user/calls?page=2",
"label": "2",
"active": false
}
],
"next_page_url": "https://app.whattalk.ai/api/user/calls?page=2",
"path": "https://app.whattalk.ai/api/user/calls",
"per_page": 15,
"prev_page_url": null,
"to": 15,
"total": 150
}
Bu endpoint, kimliği doğrulanmış kullanıcıya ait tüm aramaları çeşitli filtreleme seçenekleriyle listelemenizi sağlar.
Sorgu Parametreleri
string
Aramaları duruma göre filtreleyin. Olası değerler:
initiated, ringing, busy, in-progress, ended, completed, ended_by_customer, ended_by_assistant, no-answer, failedstring
Aramaları türe göre filtreleyin. Olası değerler:
inbound, outbound, webstring
Aramaları müşteri telefon numarasına göre filtreleyin
integer
Aramaları asistan kimliğine göre filtreleyin
integer
Aramaları kampanya kimliğine göre filtreleyin
string
Bu tarihten itibaren aramaları filtreleyin (YYYY-MM-DD formatı)
string
Bu tarihe kadar aramaları filtreleyin (YYYY-MM-DD formatı)
integer
Sayfa başına arama sayısı (1-100, varsayılan: 15)
integer
Sayfa numarası (varsayılan: 1)
Yanıt alanları
array
Göster özellikler
Göster özellikler
integer
Aramanın benzersiz tanımlayıcısı
string
Aramayı yöneten asistanın adı
string
Bu aramanın ait olduğu kampanyanın adı (varsa)
string
Aramanın türü (
inbound, outbound veya web)integer
Aramanın saniye cinsinden süresi
string
Asistan tarafından kullanılan telefon numarası
string
Müşterinin telefon numarası
string
Aramanın mevcut durumu
string
Arama görüşmesinin transkripti
object
Arama sırasında toplanan değişkenler
object
Arama performansı için değerlendirme verileri
object
Yapılandırılmış webhook’lardan gelen yanıt
number
Bu arama için operatör tarafından uygulanan maliyet
number
Tüm ücretler dahil aramanın toplam maliyeti
string
Aramayı kim yanıtladı (
human, machine veya unknown)string
Arama kaydının URL’si (mevcutsa ve etkinleştirildiyse)
string
Aramanın oluşturulma tarihi ve saati
string
Aramanın son güncellenme tarihi ve saati
integer
Mevcut sayfa numarası
integer
Sayfa başına öğe sayısı
integer
Kriterlere uyan toplam arama sayısı
integer
Son sayfa numarası
{
"current_page": 1,
"data": [
{
"id": 123,
"assistant_name": "Sales Assistant",
"campaign_name": "Q4 Outreach Campaign",
"type": "outbound",
"duration": 245,
"assistant_phone_number": "+1234567890",
"client_phone_number": "+1987654321",
"status": "completed",
"transcript": "Hello, this is Sarah from WhatTalk. How are you doing today?...",
"variables": {
"customer_name": "John Smith",
"interest_level": "high",
"follow_up_date": "2025-08-15"
},
"evaluation": {
"sentiment": "positive",
"outcome": "qualified_lead",
"score": 8.5
},
"webhook_response": {
"status": "success",
"data": {
"crm_contact_id": "abc123"
}
},
"carrier_cost": 0.02,
"total_cost": 0.025,
"answered_by": "human",
"recording_url": "https://recordings.whattalk.ai/calls/123.mp3",
"created_at": "2025-08-04 14:30:00",
"updated_at": "2025-08-04 14:34:05"
}
],
"first_page_url": "https://app.whattalk.ai/api/user/calls?page=1",
"from": 1,
"last_page": 10,
"last_page_url": "https://app.whattalk.ai/api/user/calls?page=10",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "https://app.whattalk.ai/api/user/calls?page=1",
"label": "1",
"active": true
},
{
"url": "https://app.whattalk.ai/api/user/calls?page=2",
"label": "2",
"active": false
}
],
"next_page_url": "https://app.whattalk.ai/api/user/calls?page=2",
"path": "https://app.whattalk.ai/api/user/calls",
"per_page": 15,
"prev_page_url": null,
"to": 15,
"total": 150
}
⌘I

