Create an interview
curl --request POST \
--url https://interview.qode.world/api/v1/interviews \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"candidate_email": "thanh.le+dev@qode.world",
"candidate_name": "Le Phuoc Thanh",
"cv_link": "https://cdn.qode.gg/ptp-ms-file-store/production/cv_container/resume-4a9c9c320351d1a14a0b8479551c3ac939c6b6d9.pdf.pdf",
"qodeJobId": "478e8e8b-87c9-4c2a-926f-ebce52442d39"
}
'import requests
url = "https://interview.qode.world/api/v1/interviews"
payload = {
"candidate_email": "thanh.le+dev@qode.world",
"candidate_name": "Le Phuoc Thanh",
"cv_link": "https://cdn.qode.gg/ptp-ms-file-store/production/cv_container/resume-4a9c9c320351d1a14a0b8479551c3ac939c6b6d9.pdf.pdf",
"qodeJobId": "478e8e8b-87c9-4c2a-926f-ebce52442d39"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
candidate_email: 'thanh.le+dev@qode.world',
candidate_name: 'Le Phuoc Thanh',
cv_link: 'https://cdn.qode.gg/ptp-ms-file-store/production/cv_container/resume-4a9c9c320351d1a14a0b8479551c3ac939c6b6d9.pdf.pdf',
qodeJobId: '478e8e8b-87c9-4c2a-926f-ebce52442d39'
})
};
fetch('https://interview.qode.world/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://interview.qode.world/api/v1/interviews",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'candidate_email' => 'thanh.le+dev@qode.world',
'candidate_name' => 'Le Phuoc Thanh',
'cv_link' => 'https://cdn.qode.gg/ptp-ms-file-store/production/cv_container/resume-4a9c9c320351d1a14a0b8479551c3ac939c6b6d9.pdf.pdf',
'qodeJobId' => '478e8e8b-87c9-4c2a-926f-ebce52442d39'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://interview.qode.world/api/v1/interviews"
payload := strings.NewReader("{\n \"candidate_email\": \"thanh.le+dev@qode.world\",\n \"candidate_name\": \"Le Phuoc Thanh\",\n \"cv_link\": \"https://cdn.qode.gg/ptp-ms-file-store/production/cv_container/resume-4a9c9c320351d1a14a0b8479551c3ac939c6b6d9.pdf.pdf\",\n \"qodeJobId\": \"478e8e8b-87c9-4c2a-926f-ebce52442d39\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://interview.qode.world/api/v1/interviews")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"candidate_email\": \"thanh.le+dev@qode.world\",\n \"candidate_name\": \"Le Phuoc Thanh\",\n \"cv_link\": \"https://cdn.qode.gg/ptp-ms-file-store/production/cv_container/resume-4a9c9c320351d1a14a0b8479551c3ac939c6b6d9.pdf.pdf\",\n \"qodeJobId\": \"478e8e8b-87c9-4c2a-926f-ebce52442d39\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://interview.qode.world/api/v1/interviews")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"candidate_email\": \"thanh.le+dev@qode.world\",\n \"candidate_name\": \"Le Phuoc Thanh\",\n \"cv_link\": \"https://cdn.qode.gg/ptp-ms-file-store/production/cv_container/resume-4a9c9c320351d1a14a0b8479551c3ac939c6b6d9.pdf.pdf\",\n \"qodeJobId\": \"478e8e8b-87c9-4c2a-926f-ebce52442d39\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"interview_link": "https://qode.world/interview/abc123",
"name": "Tracy interview | Le Phuoc Thanh - Software Engineer"
}
}{
"status": 401,
"errors": "Invalid API key"
}{
"status": 401,
"errors": "<string>"
}{
"status": 404,
"errors": "No interview template found for qodeJobId=478e8e8b-87c9-4c2a-926f-ebce52442d39"
}{
"status": 401,
"errors": "<string>"
}Interviews
Create interview
Create a Tracy interview for a specific candidate.
POST
/
interviews
Create an interview
curl --request POST \
--url https://interview.qode.world/api/v1/interviews \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"candidate_email": "thanh.le+dev@qode.world",
"candidate_name": "Le Phuoc Thanh",
"cv_link": "https://cdn.qode.gg/ptp-ms-file-store/production/cv_container/resume-4a9c9c320351d1a14a0b8479551c3ac939c6b6d9.pdf.pdf",
"qodeJobId": "478e8e8b-87c9-4c2a-926f-ebce52442d39"
}
'import requests
url = "https://interview.qode.world/api/v1/interviews"
payload = {
"candidate_email": "thanh.le+dev@qode.world",
"candidate_name": "Le Phuoc Thanh",
"cv_link": "https://cdn.qode.gg/ptp-ms-file-store/production/cv_container/resume-4a9c9c320351d1a14a0b8479551c3ac939c6b6d9.pdf.pdf",
"qodeJobId": "478e8e8b-87c9-4c2a-926f-ebce52442d39"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
candidate_email: 'thanh.le+dev@qode.world',
candidate_name: 'Le Phuoc Thanh',
cv_link: 'https://cdn.qode.gg/ptp-ms-file-store/production/cv_container/resume-4a9c9c320351d1a14a0b8479551c3ac939c6b6d9.pdf.pdf',
qodeJobId: '478e8e8b-87c9-4c2a-926f-ebce52442d39'
})
};
fetch('https://interview.qode.world/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://interview.qode.world/api/v1/interviews",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'candidate_email' => 'thanh.le+dev@qode.world',
'candidate_name' => 'Le Phuoc Thanh',
'cv_link' => 'https://cdn.qode.gg/ptp-ms-file-store/production/cv_container/resume-4a9c9c320351d1a14a0b8479551c3ac939c6b6d9.pdf.pdf',
'qodeJobId' => '478e8e8b-87c9-4c2a-926f-ebce52442d39'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://interview.qode.world/api/v1/interviews"
payload := strings.NewReader("{\n \"candidate_email\": \"thanh.le+dev@qode.world\",\n \"candidate_name\": \"Le Phuoc Thanh\",\n \"cv_link\": \"https://cdn.qode.gg/ptp-ms-file-store/production/cv_container/resume-4a9c9c320351d1a14a0b8479551c3ac939c6b6d9.pdf.pdf\",\n \"qodeJobId\": \"478e8e8b-87c9-4c2a-926f-ebce52442d39\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://interview.qode.world/api/v1/interviews")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"candidate_email\": \"thanh.le+dev@qode.world\",\n \"candidate_name\": \"Le Phuoc Thanh\",\n \"cv_link\": \"https://cdn.qode.gg/ptp-ms-file-store/production/cv_container/resume-4a9c9c320351d1a14a0b8479551c3ac939c6b6d9.pdf.pdf\",\n \"qodeJobId\": \"478e8e8b-87c9-4c2a-926f-ebce52442d39\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://interview.qode.world/api/v1/interviews")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"candidate_email\": \"thanh.le+dev@qode.world\",\n \"candidate_name\": \"Le Phuoc Thanh\",\n \"cv_link\": \"https://cdn.qode.gg/ptp-ms-file-store/production/cv_container/resume-4a9c9c320351d1a14a0b8479551c3ac939c6b6d9.pdf.pdf\",\n \"qodeJobId\": \"478e8e8b-87c9-4c2a-926f-ebce52442d39\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"interview_link": "https://qode.world/interview/abc123",
"name": "Tracy interview | Le Phuoc Thanh - Software Engineer"
}
}{
"status": 401,
"errors": "Invalid API key"
}{
"status": 401,
"errors": "<string>"
}{
"status": 404,
"errors": "No interview template found for qodeJobId=478e8e8b-87c9-4c2a-926f-ebce52442d39"
}{
"status": 401,
"errors": "<string>"
}Authorizations
Provide the API key issued to you by your organization admin. Send it as Authorization: Bearer <api-key> on every request.
Body
application/json
Candidate's email. Used as the interview attendee.
Candidate's full name. Used to build the interview title.
Minimum string length:
1Public URL to the candidate's CV (PDF or DOCX). Plain HTTPS links and Google Drive sharing links are both supported.
Job identifier returned by GET /jobs. Determines which interview template (questions, language, intro/outro) is used.
Minimum string length:
1⌘I