curl --request POST \
--url https://v1.api.altostrat.io/scans/cve/scheduled/single-ip \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"schedule_id": "9c43cc95-f313-49a3-b632-524f7a24503b",
"site_id": "9c3c1392-7f36-4240-85f2-273573c0384a",
"ip_address": "192.168.1.55"
}
'import requests
url = "https://v1.api.altostrat.io/scans/cve/scheduled/single-ip"
payload = {
"schedule_id": "9c43cc95-f313-49a3-b632-524f7a24503b",
"site_id": "9c3c1392-7f36-4240-85f2-273573c0384a",
"ip_address": "192.168.1.55"
}
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({
schedule_id: '9c43cc95-f313-49a3-b632-524f7a24503b',
site_id: '9c3c1392-7f36-4240-85f2-273573c0384a',
ip_address: '192.168.1.55'
})
};
fetch('https://v1.api.altostrat.io/scans/cve/scheduled/single-ip', 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://v1.api.altostrat.io/scans/cve/scheduled/single-ip",
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([
'schedule_id' => '9c43cc95-f313-49a3-b632-524f7a24503b',
'site_id' => '9c3c1392-7f36-4240-85f2-273573c0384a',
'ip_address' => '192.168.1.55'
]),
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://v1.api.altostrat.io/scans/cve/scheduled/single-ip"
payload := strings.NewReader("{\n \"schedule_id\": \"9c43cc95-f313-49a3-b632-524f7a24503b\",\n \"site_id\": \"9c3c1392-7f36-4240-85f2-273573c0384a\",\n \"ip_address\": \"192.168.1.55\"\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://v1.api.altostrat.io/scans/cve/scheduled/single-ip")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"schedule_id\": \"9c43cc95-f313-49a3-b632-524f7a24503b\",\n \"site_id\": \"9c3c1392-7f36-4240-85f2-273573c0384a\",\n \"ip_address\": \"192.168.1.55\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://v1.api.altostrat.io/scans/cve/scheduled/single-ip")
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 \"schedule_id\": \"9c43cc95-f313-49a3-b632-524f7a24503b\",\n \"site_id\": \"9c3c1392-7f36-4240-85f2-273573c0384a\",\n \"ip_address\": \"192.168.1.55\"\n}"
response = http.request(request)
puts response.read_body{
"scan_id": "9c46a6f1-a8d8-4f5a-9b2f-7d1b3e9c5a1d",
"status": "pending",
"ip_address": "192.168.1.55",
"site_id": "9c3c1392-7f36-4240-85f2-273573c0384a",
"created_at": "2025-10-29T14:00:00Z",
"message": "Scan initiated. Check back for results."
}{
"type": "invalid_request_error",
"code": "parameter_missing",
"message": "The 'description' parameter is required for this request.",
"doc_url": "https://docs.altostrat.io/errors/parameter_missing"
}{
"type": "invalid_request_error",
"code": "parameter_missing",
"message": "The 'description' parameter is required for this request.",
"doc_url": "https://docs.altostrat.io/errors/parameter_missing"
}{
"type": "invalid_request_error",
"code": "parameter_missing",
"message": "The 'description' parameter is required for this request.",
"doc_url": "https://docs.altostrat.io/errors/parameter_missing"
}{
"type": "invalid_request_error",
"code": "parameter_missing",
"message": "The 'description' parameter is required for this request.",
"doc_url": "https://docs.altostrat.io/errors/parameter_missing"
}{
"type": "invalid_request_error",
"code": "parameter_missing",
"message": "The 'description' parameter is required for this request.",
"doc_url": "https://docs.altostrat.io/errors/parameter_missing"
}Start On-Demand Single-IP Scan
Initiates an immediate, on-demand scan for a single IP address. This uses the configuration of an existing scan schedule but targets only the specified IP within a particular site.
curl --request POST \
--url https://v1.api.altostrat.io/scans/cve/scheduled/single-ip \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"schedule_id": "9c43cc95-f313-49a3-b632-524f7a24503b",
"site_id": "9c3c1392-7f36-4240-85f2-273573c0384a",
"ip_address": "192.168.1.55"
}
'import requests
url = "https://v1.api.altostrat.io/scans/cve/scheduled/single-ip"
payload = {
"schedule_id": "9c43cc95-f313-49a3-b632-524f7a24503b",
"site_id": "9c3c1392-7f36-4240-85f2-273573c0384a",
"ip_address": "192.168.1.55"
}
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({
schedule_id: '9c43cc95-f313-49a3-b632-524f7a24503b',
site_id: '9c3c1392-7f36-4240-85f2-273573c0384a',
ip_address: '192.168.1.55'
})
};
fetch('https://v1.api.altostrat.io/scans/cve/scheduled/single-ip', 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://v1.api.altostrat.io/scans/cve/scheduled/single-ip",
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([
'schedule_id' => '9c43cc95-f313-49a3-b632-524f7a24503b',
'site_id' => '9c3c1392-7f36-4240-85f2-273573c0384a',
'ip_address' => '192.168.1.55'
]),
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://v1.api.altostrat.io/scans/cve/scheduled/single-ip"
payload := strings.NewReader("{\n \"schedule_id\": \"9c43cc95-f313-49a3-b632-524f7a24503b\",\n \"site_id\": \"9c3c1392-7f36-4240-85f2-273573c0384a\",\n \"ip_address\": \"192.168.1.55\"\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://v1.api.altostrat.io/scans/cve/scheduled/single-ip")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"schedule_id\": \"9c43cc95-f313-49a3-b632-524f7a24503b\",\n \"site_id\": \"9c3c1392-7f36-4240-85f2-273573c0384a\",\n \"ip_address\": \"192.168.1.55\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://v1.api.altostrat.io/scans/cve/scheduled/single-ip")
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 \"schedule_id\": \"9c43cc95-f313-49a3-b632-524f7a24503b\",\n \"site_id\": \"9c3c1392-7f36-4240-85f2-273573c0384a\",\n \"ip_address\": \"192.168.1.55\"\n}"
response = http.request(request)
puts response.read_body{
"scan_id": "9c46a6f1-a8d8-4f5a-9b2f-7d1b3e9c5a1d",
"status": "pending",
"ip_address": "192.168.1.55",
"site_id": "9c3c1392-7f36-4240-85f2-273573c0384a",
"created_at": "2025-10-29T14:00:00Z",
"message": "Scan initiated. Check back for results."
}{
"type": "invalid_request_error",
"code": "parameter_missing",
"message": "The 'description' parameter is required for this request.",
"doc_url": "https://docs.altostrat.io/errors/parameter_missing"
}{
"type": "invalid_request_error",
"code": "parameter_missing",
"message": "The 'description' parameter is required for this request.",
"doc_url": "https://docs.altostrat.io/errors/parameter_missing"
}{
"type": "invalid_request_error",
"code": "parameter_missing",
"message": "The 'description' parameter is required for this request.",
"doc_url": "https://docs.altostrat.io/errors/parameter_missing"
}{
"type": "invalid_request_error",
"code": "parameter_missing",
"message": "The 'description' parameter is required for this request.",
"doc_url": "https://docs.altostrat.io/errors/parameter_missing"
}{
"type": "invalid_request_error",
"code": "parameter_missing",
"message": "The 'description' parameter is required for this request.",
"doc_url": "https://docs.altostrat.io/errors/parameter_missing"
}Authorizations
Enter your bearer token in the format: Bearer {token}
Body
Details of the scan to initiate.
The ID of the schedule whose configuration will be used for the scan.
"9c43cc95-f313-49a3-b632-524f7a24503b"
The ID of the site where the target IP address is located.
"9c3c1392-7f36-4240-85f2-273573c0384a"
The specific IPv4 address to scan.
"192.168.1.55"
Response
The single-IP scan has been accepted and is pending execution.
The unique identifier for the newly created parent scan object.
"9c46a6f1-a8d8-4f5a-9b2f-7d1b3e9c5a1d"
The initial status of the scan request.
"pending"
The IP address that was targeted.
"192.168.1.55"
The site ID that was targeted.
"9c3c1392-7f36-4240-85f2-273573c0384a"
Timestamp of when the scan was initiated.
"2025-10-29T14:00:00Z"
A confirmation message.
"Scan initiated. Check back for results."
Was this page helpful?