Verify entities in bulk
curl --request PUT \
--url https://api.getcortexapp.com/api/v1/verifications \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"verifications": [
{
"entity": "payments-api",
"periodCid": "vp0a1b2c3d4e5f6789",
"status": "VERIFIED_CORRECT",
"reason": "Ownership moved to the payments team"
}
]
}
'import requests
url = "https://api.getcortexapp.com/api/v1/verifications"
payload = { "verifications": [
{
"entity": "payments-api",
"periodCid": "vp0a1b2c3d4e5f6789",
"status": "VERIFIED_CORRECT",
"reason": "Ownership moved to the payments team"
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
verifications: [
{
entity: 'payments-api',
periodCid: 'vp0a1b2c3d4e5f6789',
status: 'VERIFIED_CORRECT',
reason: 'Ownership moved to the payments team'
}
]
})
};
fetch('https://api.getcortexapp.com/api/v1/verifications', 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://api.getcortexapp.com/api/v1/verifications",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'verifications' => [
[
'entity' => 'payments-api',
'periodCid' => 'vp0a1b2c3d4e5f6789',
'status' => 'VERIFIED_CORRECT',
'reason' => 'Ownership moved to the payments team'
]
]
]),
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://api.getcortexapp.com/api/v1/verifications"
payload := strings.NewReader("{\n \"verifications\": [\n {\n \"entity\": \"payments-api\",\n \"periodCid\": \"vp0a1b2c3d4e5f6789\",\n \"status\": \"VERIFIED_CORRECT\",\n \"reason\": \"Ownership moved to the payments team\"\n }\n ]\n}")
req, _ := http.NewRequest("PUT", 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.put("https://api.getcortexapp.com/api/v1/verifications")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"verifications\": [\n {\n \"entity\": \"payments-api\",\n \"periodCid\": \"vp0a1b2c3d4e5f6789\",\n \"status\": \"VERIFIED_CORRECT\",\n \"reason\": \"Ownership moved to the payments team\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getcortexapp.com/api/v1/verifications")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"verifications\": [\n {\n \"entity\": \"payments-api\",\n \"periodCid\": \"vp0a1b2c3d4e5f6789\",\n \"status\": \"VERIFIED_CORRECT\",\n \"reason\": \"Ownership moved to the payments team\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"errors": [
{
"code": "NOT_AN_OWNER",
"entity": "<string>",
"message": "You do not own this entity",
"periodCid": "<string>"
}
],
"verifications": [
{
"entity": "<string>",
"periodCid": "<string>",
"status": "VERIFIED_CORRECT",
"reason": "<string>",
"verifiedAt": "2023-11-07T05:31:56Z",
"verifiedByApiKey": {
"name": "ci-bot"
},
"verifiedByUser": {
"email": "<string>",
"name": "<string>"
}
}
]
}{
"status": 429,
"title": "<string>",
"type": "<string>",
"detail": "<string>",
"instance": "<string>",
"retryAfter": 1
}Verify entities in bulk
Answers many entity-and-period pairs in one call. Each entry is answered on its own merits: an entity the caller may not verify is returned under errors while the rest are still recorded, because eligibility depends on who owns each entity. Read errors on every response — a 200 does not mean every entry was recorded.
PUT
/
api
/
v1
/
verifications
Verify entities in bulk
curl --request PUT \
--url https://api.getcortexapp.com/api/v1/verifications \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"verifications": [
{
"entity": "payments-api",
"periodCid": "vp0a1b2c3d4e5f6789",
"status": "VERIFIED_CORRECT",
"reason": "Ownership moved to the payments team"
}
]
}
'import requests
url = "https://api.getcortexapp.com/api/v1/verifications"
payload = { "verifications": [
{
"entity": "payments-api",
"periodCid": "vp0a1b2c3d4e5f6789",
"status": "VERIFIED_CORRECT",
"reason": "Ownership moved to the payments team"
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
verifications: [
{
entity: 'payments-api',
periodCid: 'vp0a1b2c3d4e5f6789',
status: 'VERIFIED_CORRECT',
reason: 'Ownership moved to the payments team'
}
]
})
};
fetch('https://api.getcortexapp.com/api/v1/verifications', 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://api.getcortexapp.com/api/v1/verifications",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'verifications' => [
[
'entity' => 'payments-api',
'periodCid' => 'vp0a1b2c3d4e5f6789',
'status' => 'VERIFIED_CORRECT',
'reason' => 'Ownership moved to the payments team'
]
]
]),
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://api.getcortexapp.com/api/v1/verifications"
payload := strings.NewReader("{\n \"verifications\": [\n {\n \"entity\": \"payments-api\",\n \"periodCid\": \"vp0a1b2c3d4e5f6789\",\n \"status\": \"VERIFIED_CORRECT\",\n \"reason\": \"Ownership moved to the payments team\"\n }\n ]\n}")
req, _ := http.NewRequest("PUT", 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.put("https://api.getcortexapp.com/api/v1/verifications")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"verifications\": [\n {\n \"entity\": \"payments-api\",\n \"periodCid\": \"vp0a1b2c3d4e5f6789\",\n \"status\": \"VERIFIED_CORRECT\",\n \"reason\": \"Ownership moved to the payments team\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getcortexapp.com/api/v1/verifications")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"verifications\": [\n {\n \"entity\": \"payments-api\",\n \"periodCid\": \"vp0a1b2c3d4e5f6789\",\n \"status\": \"VERIFIED_CORRECT\",\n \"reason\": \"Ownership moved to the payments team\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"errors": [
{
"code": "NOT_AN_OWNER",
"entity": "<string>",
"message": "You do not own this entity",
"periodCid": "<string>"
}
],
"verifications": [
{
"entity": "<string>",
"periodCid": "<string>",
"status": "VERIFIED_CORRECT",
"reason": "<string>",
"verifiedAt": "2023-11-07T05:31:56Z",
"verifiedByApiKey": {
"name": "ci-bot"
},
"verifiedByUser": {
"email": "<string>",
"name": "<string>"
}
}
]
}{
"status": 429,
"title": "<string>",
"type": "<string>",
"detail": "<string>",
"instance": "<string>",
"retryAfter": 1
}Authorizations
All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.
Body
application/json
Answers for many entity-and-period pairs
The answers to record
Show child attributes
Show child attributes
Response
The entries that were recorded, and the entries that were not
Last modified on September 29, 2026