Get a gateway
curl --request GET \
--url https://{command_center_host}/api/v1/gateways/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://{command_center_host}/api/v1/gateways/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{command_center_host}/api/v1/gateways/{id}', 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://{command_center_host}/api/v1/gateways/{id}",
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://{command_center_host}/api/v1/gateways/{id}"
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://{command_center_host}/api/v1/gateways/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{command_center_host}/api/v1/gateways/{id}")
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{
"id": "gtw_6a2d4f81-...",
"type": "servicenow",
"active": true,
"org_id": "org_460b541c-...",
"tenant_id": "ten_115bea44-...",
"user_id": "usr_2b91c7de-...",
"metadata": {
"servicenow_assigned_group_id": "net-ops",
"environment": "prod"
},
"inbound_prompt": "<string>",
"outbound_prompt": "<string>",
"inbound_override_enabled": true,
"outbound_override_enabled": true,
"created_at": "2026-08-26T10:00:26.380Z",
"updated_at": "2026-08-26T10:00:26.380Z",
"webhooks": [
{
"id": "whk_9c31e07b-...",
"name": "ServiceNow inbound",
"path": "sn-net-ops-prod",
"secret": "****a91c7d",
"source_type": "servicenow",
"event_type": "incident.created",
"active": true,
"description": "<string>",
"org_id": "org_460b541c-...",
"tenant_id": "ten_115bea44-...",
"gateway_id": "gtw_6a2d4f81-...",
"last_used_at": "2026-08-26T10:00:26.380Z",
"created_at": "2026-08-26T10:00:26.380Z",
"updated_at": "2026-08-26T10:00:26.380Z"
}
]
}{
"code": "VALIDATION_FAILED",
"message": "Validation failed",
"request_id": "req_3702b7e7-...",
"field": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
],
"details": {}
}{
"code": "VALIDATION_FAILED",
"message": "Validation failed",
"request_id": "req_3702b7e7-...",
"field": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
],
"details": {}
}{
"code": "VALIDATION_FAILED",
"message": "Validation failed",
"request_id": "req_3702b7e7-...",
"field": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
],
"details": {}
}Gateways
Get a gateway
GET
/
api
/
v1
/
gateways
/
{id}
Get a gateway
curl --request GET \
--url https://{command_center_host}/api/v1/gateways/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://{command_center_host}/api/v1/gateways/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{command_center_host}/api/v1/gateways/{id}', 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://{command_center_host}/api/v1/gateways/{id}",
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://{command_center_host}/api/v1/gateways/{id}"
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://{command_center_host}/api/v1/gateways/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{command_center_host}/api/v1/gateways/{id}")
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{
"id": "gtw_6a2d4f81-...",
"type": "servicenow",
"active": true,
"org_id": "org_460b541c-...",
"tenant_id": "ten_115bea44-...",
"user_id": "usr_2b91c7de-...",
"metadata": {
"servicenow_assigned_group_id": "net-ops",
"environment": "prod"
},
"inbound_prompt": "<string>",
"outbound_prompt": "<string>",
"inbound_override_enabled": true,
"outbound_override_enabled": true,
"created_at": "2026-08-26T10:00:26.380Z",
"updated_at": "2026-08-26T10:00:26.380Z",
"webhooks": [
{
"id": "whk_9c31e07b-...",
"name": "ServiceNow inbound",
"path": "sn-net-ops-prod",
"secret": "****a91c7d",
"source_type": "servicenow",
"event_type": "incident.created",
"active": true,
"description": "<string>",
"org_id": "org_460b541c-...",
"tenant_id": "ten_115bea44-...",
"gateway_id": "gtw_6a2d4f81-...",
"last_used_at": "2026-08-26T10:00:26.380Z",
"created_at": "2026-08-26T10:00:26.380Z",
"updated_at": "2026-08-26T10:00:26.380Z"
}
]
}{
"code": "VALIDATION_FAILED",
"message": "Validation failed",
"request_id": "req_3702b7e7-...",
"field": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
],
"details": {}
}{
"code": "VALIDATION_FAILED",
"message": "Validation failed",
"request_id": "req_3702b7e7-...",
"field": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
],
"details": {}
}{
"code": "VALIDATION_FAILED",
"message": "Validation failed",
"request_id": "req_3702b7e7-...",
"field": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
],
"details": {}
}Authorizations
An API key minted in Command Center (Settings -> API Keys), sent as Authorization: Bearer 2501_ak_.... A Command Center session cookie is also accepted.
Path Parameters
Response
The gateway, with its active webhooks
Example:
"gtw_6a2d4f81-..."
Integration this gateway speaks
Example:
"servicenow"
Example:
"org_460b541c-..."
Example:
"ten_115bea44-..."
Example:
"usr_2b91c7de-..."
Type-specific connection settings
Show child attributes
Show child attributes
Example:
{
"servicenow_assigned_group_id": "net-ops",
"environment": "prod"
}
Take/skip and routing rules applied to incoming tickets
Status, comment and escalation rules for ticket writes
Off leaves the default ticket rules in force
Example:
"2026-08-26T10:00:26.380Z"
Example:
"2026-08-26T10:00:26.380Z"
Active webhooks bound to this gateway, newest first, with secrets masked
Show child attributes
Show child attributes

