cURL
curl --request GET \
--url https://app.talvin.ai/api/v1/interviews \
--header 'X-TALVIN-API-KEY: <api-key>' \
--header 'X-TALVIN-ORGANIZATION-ID: <api-key>'import requests
url = "https://app.talvin.ai/api/v1/interviews"
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/interviews', 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/interviews",
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/interviews"
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/interviews")
.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/interviews")
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": "<string>",
"name": "<string>",
"question_count": 123,
"time_duration": "<string>",
"questions": [
{
"id": "<string>",
"question": "<string>",
"follow_up_count": 123
}
],
"description": "<string>"
}
]{
"error": 123,
"message": "<string>"
}Interviews
Get Interviews
Returns all interviews that the organization has created
GET
/
interviews
cURL
curl --request GET \
--url https://app.talvin.ai/api/v1/interviews \
--header 'X-TALVIN-API-KEY: <api-key>' \
--header 'X-TALVIN-ORGANIZATION-ID: <api-key>'import requests
url = "https://app.talvin.ai/api/v1/interviews"
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/interviews', 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/interviews",
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/interviews"
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/interviews")
.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/interviews")
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": "<string>",
"name": "<string>",
"question_count": 123,
"time_duration": "<string>",
"questions": [
{
"id": "<string>",
"question": "<string>",
"follow_up_count": 123
}
],
"description": "<string>"
}
]{
"error": 123,
"message": "<string>"
}Response
Interview response
Unique identifier for the interview
Name of the interview
Number of questions in the interview
Time duration for the interview in minutes
List of questions in the interview
Show child attributes
Show child attributes
Description of the interview
