curl --request GET \
--url https://www.hckrt.com/api/v1/admin/reports \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.hckrt.com/api/v1/admin/reports"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.hckrt.com/api/v1/admin/reports', 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://www.hckrt.com/api/v1/admin/reports",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://www.hckrt.com/api/v1/admin/reports"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://www.hckrt.com/api/v1/admin/reports")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.hckrt.com/api/v1/admin/reports")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"items": [
{
"id": 123,
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"lastActivityAt": "2023-11-07T05:31:56Z",
"programId": 123,
"target": {
"id": 123,
"name": "<string>"
},
"status": {
"id": 123,
"name": "<string>"
},
"severity": {
"id": 123,
"name": "<string>"
},
"reporter": {
"id": "<string>",
"nickname": "<string>",
"email": "jsmith@example.com"
},
"assignedTo": {
"id": "<string>",
"nickname": "<string>",
"email": "jsmith@example.com"
}
}
],
"nextCursor": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>"
}Search accessible reports
Requires reports:read. Repeated values are ORed within one filter and different filters are ANDed. Up to 100 values are accepted per repeated filter. Sorting accepts at most three unique requested fields; report ID is added as a deterministic tie-breaker. New cursors are versioned opaque base64url values bound to the canonical filters and sort. Legacy createdAt:id cursors remain accepted only for the default -createdAt,-id ordering.
curl --request GET \
--url https://www.hckrt.com/api/v1/admin/reports \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.hckrt.com/api/v1/admin/reports"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.hckrt.com/api/v1/admin/reports', 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://www.hckrt.com/api/v1/admin/reports",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://www.hckrt.com/api/v1/admin/reports"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://www.hckrt.com/api/v1/admin/reports")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.hckrt.com/api/v1/admin/reports")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"items": [
{
"id": 123,
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"lastActivityAt": "2023-11-07T05:31:56Z",
"programId": 123,
"target": {
"id": 123,
"name": "<string>"
},
"status": {
"id": 123,
"name": "<string>"
},
"severity": {
"id": 123,
"name": "<string>"
},
"reporter": {
"id": "<string>",
"nickname": "<string>",
"email": "jsmith@example.com"
},
"assignedTo": {
"id": "<string>",
"nickname": "<string>",
"email": "jsmith@example.com"
}
}
],
"nextCursor": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Repeat to match any program ID.
100Repeat to match any status ID.
100Repeat to match any severity ID.
100Repeat to match any target ID.
100Repeat to match any assignee user ID. Cannot be combined with isAssigned=false.
100Repeat to match any reporter user ID.
100Matches reports with a positive bounty or bonus.
Trimmed keyword, up to 200 characters, searched across report ID, title, summary, description, impact, and CVE.
200Inclusive creation lower bound.
Inclusive creation upper bound.
Inclusive last-activity lower bound.
Inclusive last-activity upper bound.
Comma-separated fields; prefix descending fields with -. Allowed: id, createdAt, lastActivityAt, severity, status, bounty, name. Default: -createdAt,-id.
Opaque cursor from nextCursor. It is rejected if reused with different filters or sorting.
1 <= x <= 100Was this page helpful?