`GET /v1/control/api-keys`.
curl --request GET \
--url https://qa.esectra.com/v1/control/api-keys \
--cookie esectra_session=import requests
url = "https://qa.esectra.com/v1/control/api-keys"
headers = {"cookie": "esectra_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'esectra_session='}};
fetch('https://qa.esectra.com/v1/control/api-keys', 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://qa.esectra.com/v1/control/api-keys",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_COOKIE => "esectra_session=",
]);
$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://qa.esectra.com/v1/control/api-keys"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "esectra_session=")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://qa.esectra.com/v1/control/api-keys")
.header("cookie", "esectra_session=")
.asString();require 'uri'
require 'net/http'
url = URI("https://qa.esectra.com/v1/control/api-keys")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["cookie"] = 'esectra_session='
response = http.request(request)
puts response.read_body{
"api_keys": [
{
"active": true,
"created_at": "<string>",
"id": "<string>",
"label": "<string>",
"created_by": "<string>",
"last_used_at": "<string>",
"revoked_at": "<string>"
}
]
}Control
`GET /v1/control/api-keys`.
Errors
401 without a reviewer session, 403 without API_KEY_MANAGE, 503
when the store cannot be reached.
GET
/
v1
/
control
/
api-keys
`GET /v1/control/api-keys`.
curl --request GET \
--url https://qa.esectra.com/v1/control/api-keys \
--cookie esectra_session=import requests
url = "https://qa.esectra.com/v1/control/api-keys"
headers = {"cookie": "esectra_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'esectra_session='}};
fetch('https://qa.esectra.com/v1/control/api-keys', 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://qa.esectra.com/v1/control/api-keys",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_COOKIE => "esectra_session=",
]);
$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://qa.esectra.com/v1/control/api-keys"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "esectra_session=")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://qa.esectra.com/v1/control/api-keys")
.header("cookie", "esectra_session=")
.asString();require 'uri'
require 'net/http'
url = URI("https://qa.esectra.com/v1/control/api-keys")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["cookie"] = 'esectra_session='
response = http.request(request)
puts response.read_body{
"api_keys": [
{
"active": true,
"created_at": "<string>",
"id": "<string>",
"label": "<string>",
"created_by": "<string>",
"last_used_at": "<string>",
"revoked_at": "<string>"
}
]
}Authorizations
A signed-in reviewer's session. httpOnly and SameSite=Lax; set by POST /v1/control/sessions and only usable once the second factor is met.
Response
The tenant's keys, without secrets
The list.
Every key this tenant has, newest first.
Show child attributes
Show child attributes

