Skip to main content
POST
Create a gateway

Authorizations

Authorization
string
header
required

An API key minted in Command Center (Settings -> API Keys), sent as Authorization: Bearer 2501_ak_.... A Command Center session cookie is also accepted.

Body

application/json
type
enum<string>
required
Available options:
servicenow,
runner,
ecritel,
easyvista
org_id
string
required
active
boolean
default:false
inbound_prompt
string | null
outbound_prompt
string | null
inbound_override_enabled
boolean
default:false
outbound_override_enabled
boolean
default:false
metadata
object | null
connection
object

The URL the gateway calls and the credentials it signs in with; a runner gateway takes none. A ServiceNow or Ecritel gateway created without any value is filled from the credentials named servicenow_* or ecritel_* in its organization until its connection is complete. That fill is deprecated: send connection.

Response

The created gateway

id
string
required
Example:

"gtw_6a2d4f81-..."

type
string
required

Integration this gateway speaks

Example:

"servicenow"

active
boolean
required
org_id
string
required
Example:

"org_460b541c-..."

tenant_id
string
required
Example:

"ten_115bea44-..."

user_id
string
required
Example:

"usr_2b91c7de-..."

metadata
object | null
required

Type-specific settings, such as the ServiceNow assignment group. The URL and credentials are in connection.

Example:
inbound_prompt
string | null
required

Take/skip and routing rules applied to incoming tickets

outbound_prompt
string | null
required

Status, comment and escalation rules for ticket writes

inbound_override_enabled
boolean
required

Off leaves the default ticket rules in force

outbound_override_enabled
boolean
required
connection
object
required

The URL the gateway calls and the credentials it signs in with, by ID. Every key is present; a field the type does not use, or that is not set, is null, and a runner gateway has all five null.

created_at
string<date-time>
required
Example:

"2026-08-26T10:00:26.380Z"

updated_at
string<date-time>
required
Example:

"2026-08-26T10:00:26.380Z"