cURL
curl --request GET \
--url https://app.talvin.ai/api/v1/responses \
--header 'X-TALVIN-API-KEY: <api-key>' \
--header 'X-TALVIN-ORGANIZATION-ID: <api-key>'import requests
url = "https://app.talvin.ai/api/v1/responses"
headers = {
"X-TALVIN-API-KEY": "<api-key>",
"X-TALVIN-ORGANIZATION-ID": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-TALVIN-API-KEY': '<api-key>', 'X-TALVIN-ORGANIZATION-ID': '<api-key>'}
};
fetch('https://app.talvin.ai/api/v1/responses', 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.talvin.ai/api/v1/responses",
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-TALVIN-API-KEY: <api-key>",
"X-TALVIN-ORGANIZATION-ID: <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://app.talvin.ai/api/v1/responses"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-TALVIN-API-KEY", "<api-key>")
req.Header.Add("X-TALVIN-ORGANIZATION-ID", "<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://app.talvin.ai/api/v1/responses")
.header("X-TALVIN-API-KEY", "<api-key>")
.header("X-TALVIN-ORGANIZATION-ID", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.talvin.ai/api/v1/responses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-TALVIN-API-KEY"] = '<api-key>'
request["X-TALVIN-ORGANIZATION-ID"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"id": 123,
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"email": "jsmith@example.com",
"call_id": "<string>",
"duration": 123,
"interview": {
"id": "<string>",
"name": "<string>",
"organization_id": "<string>"
}
}
]{
"error": 123,
"message": "<string>"
}Responses
Get Responses
Returns all responses that the organization has received.
GET
/
responses
cURL
curl --request GET \
--url https://app.talvin.ai/api/v1/responses \
--header 'X-TALVIN-API-KEY: <api-key>' \
--header 'X-TALVIN-ORGANIZATION-ID: <api-key>'import requests
url = "https://app.talvin.ai/api/v1/responses"
headers = {
"X-TALVIN-API-KEY": "<api-key>",
"X-TALVIN-ORGANIZATION-ID": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-TALVIN-API-KEY': '<api-key>', 'X-TALVIN-ORGANIZATION-ID': '<api-key>'}
};
fetch('https://app.talvin.ai/api/v1/responses', 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.talvin.ai/api/v1/responses",
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-TALVIN-API-KEY: <api-key>",
"X-TALVIN-ORGANIZATION-ID: <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://app.talvin.ai/api/v1/responses"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-TALVIN-API-KEY", "<api-key>")
req.Header.Add("X-TALVIN-ORGANIZATION-ID", "<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://app.talvin.ai/api/v1/responses")
.header("X-TALVIN-API-KEY", "<api-key>")
.header("X-TALVIN-ORGANIZATION-ID", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.talvin.ai/api/v1/responses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-TALVIN-API-KEY"] = '<api-key>'
request["X-TALVIN-ORGANIZATION-ID"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"id": 123,
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"email": "jsmith@example.com",
"call_id": "<string>",
"duration": 123,
"interview": {
"id": "<string>",
"name": "<string>",
"organization_id": "<string>"
}
}
]{
"error": 123,
"message": "<string>"
}Response
Response data
Unique identifier for the response
Timestamp when the response was created
Name of the respondent
Email address of the respondent
Unique identifier for the call session
Duration of the interview in minutes
Show child attributes
Show child attributes
