Generate a signed interview URL
curl --request POST \
--url https://cool.jobmojito.com/functions/v1/job-interview-token \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"merchant_id": "<string>",
"interview_profile_id": "<string>",
"interview_id": "<string>",
"interview_result_id": "<string>",
"hide_menu": "<string>"
}
'import requests
url = "https://cool.jobmojito.com/functions/v1/job-interview-token"
payload = {
"merchant_id": "<string>",
"interview_profile_id": "<string>",
"interview_id": "<string>",
"interview_result_id": "<string>",
"hide_menu": "<string>"
}
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({
merchant_id: '<string>',
interview_profile_id: '<string>',
interview_id: '<string>',
interview_result_id: '<string>',
hide_menu: '<string>'
})
};
fetch('https://cool.jobmojito.com/functions/v1/job-interview-token', 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://cool.jobmojito.com/functions/v1/job-interview-token",
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([
'merchant_id' => '<string>',
'interview_profile_id' => '<string>',
'interview_id' => '<string>',
'interview_result_id' => '<string>',
'hide_menu' => '<string>'
]),
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://cool.jobmojito.com/functions/v1/job-interview-token"
payload := strings.NewReader("{\n \"merchant_id\": \"<string>\",\n \"interview_profile_id\": \"<string>\",\n \"interview_id\": \"<string>\",\n \"interview_result_id\": \"<string>\",\n \"hide_menu\": \"<string>\"\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://cool.jobmojito.com/functions/v1/job-interview-token")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"merchant_id\": \"<string>\",\n \"interview_profile_id\": \"<string>\",\n \"interview_id\": \"<string>\",\n \"interview_result_id\": \"<string>\",\n \"hide_menu\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://cool.jobmojito.com/functions/v1/job-interview-token")
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 \"merchant_id\": \"<string>\",\n \"interview_profile_id\": \"<string>\",\n \"interview_id\": \"<string>\",\n \"interview_result_id\": \"<string>\",\n \"hide_menu\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body"https://interviews.example.com/interview/take/<id>/?interview_token=<jwt>&view_hm=true"{
"error": "Field is required.",
"name": "interview_result_id"
}{
"error": "Field is required.",
"name": "interview_result_id"
}{
"error": "Field is required.",
"name": "interview_result_id"
}Interviews
Generate a signed interview URL
Generates a public, token-signed URL for an existing interview, profile, or result. The required id fields depend on type.
POST
/
job-interview-token
Generate a signed interview URL
curl --request POST \
--url https://cool.jobmojito.com/functions/v1/job-interview-token \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"merchant_id": "<string>",
"interview_profile_id": "<string>",
"interview_id": "<string>",
"interview_result_id": "<string>",
"hide_menu": "<string>"
}
'import requests
url = "https://cool.jobmojito.com/functions/v1/job-interview-token"
payload = {
"merchant_id": "<string>",
"interview_profile_id": "<string>",
"interview_id": "<string>",
"interview_result_id": "<string>",
"hide_menu": "<string>"
}
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({
merchant_id: '<string>',
interview_profile_id: '<string>',
interview_id: '<string>',
interview_result_id: '<string>',
hide_menu: '<string>'
})
};
fetch('https://cool.jobmojito.com/functions/v1/job-interview-token', 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://cool.jobmojito.com/functions/v1/job-interview-token",
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([
'merchant_id' => '<string>',
'interview_profile_id' => '<string>',
'interview_id' => '<string>',
'interview_result_id' => '<string>',
'hide_menu' => '<string>'
]),
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://cool.jobmojito.com/functions/v1/job-interview-token"
payload := strings.NewReader("{\n \"merchant_id\": \"<string>\",\n \"interview_profile_id\": \"<string>\",\n \"interview_id\": \"<string>\",\n \"interview_result_id\": \"<string>\",\n \"hide_menu\": \"<string>\"\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://cool.jobmojito.com/functions/v1/job-interview-token")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"merchant_id\": \"<string>\",\n \"interview_profile_id\": \"<string>\",\n \"interview_id\": \"<string>\",\n \"interview_result_id\": \"<string>\",\n \"hide_menu\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://cool.jobmojito.com/functions/v1/job-interview-token")
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 \"merchant_id\": \"<string>\",\n \"interview_profile_id\": \"<string>\",\n \"interview_id\": \"<string>\",\n \"interview_result_id\": \"<string>\",\n \"hide_menu\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body"https://interviews.example.com/interview/take/<id>/?interview_token=<jwt>&view_hm=true"{
"error": "Field is required.",
"name": "interview_result_id"
}{
"error": "Field is required.",
"name": "interview_result_id"
}{
"error": "Field is required.",
"name": "interview_result_id"
}Authorizations
Supabase JWT — Authorization: Bearer <token>.
Body
application/json
Which kind of signed URL to generate.
Available options:
interview-for-profile, results-for-profile, interview-result-candidate, interview-result-talent-seeker, interview-results-for-position Override merchant id (admin / sub-merchant only).
Candidate profile id. Required for interview-for-profile and results-for-profile.
Interview or position id. Required for interview-for-profile and interview-results-for-position.
Interview result id. Required for interview-result-candidate and interview-result-talent-seeker.
Pass the string 'false' to show the navigation menu; any other value hides it (default).
Response
The signed URL.
The signed interview URL.
Example:
"https://interviews.example.com/interview/take/<id>/?interview_token=<jwt>&view_hm=true"
⌘I