Genetec Security Center SDK / REST API
genetec.com · Security
Unified physical security platform API — Genetec Security Center integrates video surveillance, access control, automatic license plate recognition (ALPR), and intrusion detection. REST and SDK access. Requires partner/customer licensing.
Authentication
Basic Auth
HTTP Basic authentication against your Genetec Security Center server, or OAuth2 depending on configuration. Hosted on-premise or cloud.
Sample Requests
GET
Get all cameras
List all camera entities in Genetec Security Center.
https://YOUR_GENETEC_SERVER/WebSdk/api/V2/entities?entityType=Camera
Hover any highlighted part to learn what it does
Headers — extra info sent with the request
| Accept | application/json |
| Authorization | Basic BASE64_CREDENTIALS |
curl -X GET "https://YOUR_GENETEC_SERVER/WebSdk/api/V2/entities?entityType=Camera" \ -H "Accept: application/json" \ -H "Authorization: Basic YOUR_BASE64_CREDENTIALS"
import requests
headers = {
"Accept": "application/json",
"Authorization": "Basic YOUR_BASE64_CREDENTIALS"
}
response = requests.get(
"https://YOUR_GENETEC_SERVER/WebSdk/api/V2/entities?entityType=Camera",
headers=headers,
)
print(response.json())const url = 'https://YOUR_GENETEC_SERVER/WebSdk/api/V2/entities?entityType=Camera';
const response = await fetch(url, {
headers: {
'Accept': 'application/json',
'Authorization': 'Basic YOUR_BASE64_CREDENTIALS'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://YOUR_GENETEC_SERVER/WebSdk/api/V2/entities?entityType=Camera"
req, _ := http.NewRequest("GET", targetURL, nil)
req.Header.Set("Accept", "application/json")
req.Header.Set("Authorization", "Basic YOUR_BASE64_CREDENTIALS")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://YOUR_GENETEC_SERVER/WebSdk/api/V2/entities?entityType=Camera")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
req["Accept"] = "application/json"
req["Authorization"] = "Basic YOUR_BASE64_CREDENTIALS"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://YOUR_GENETEC_SERVER/WebSdk/api/V2/entities?entityType=Camera";
$opts = ["http" => [
"method" => "GET",
"header" => implode("\r\n", [
"Accept: application/json",
"Authorization: Basic YOUR_BASE64_CREDENTIALS"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- Requires Genetec Security Center license (contact genetec.com)
- Web SDK is hosted on your Genetec server — replace YOUR_GENETEC_SERVER with your instance
- Authentication: Basic auth with Genetec user credentials
- Full SDK and REST docs at techdocs.genetec.com
- Sandbox: Genetec offers a cloud demo environment for evaluation