curl --request POST \
--url https://api.example.com/api/v1/gateways \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"url": "<string>",
"workspace_root": "<string>",
"token": "<string>",
"allow_insecure_tls": true,
"disable_device_pairing": true
}
'Register a new gateway and provision its main agent
curl --request POST \
--url https://api.example.com/api/v1/gateways \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"url": "<string>",
"workspace_root": "<string>",
"token": "<string>",
"allow_insecure_tls": true,
"disable_device_pairing": true
}
'Creates a new gateway configuration in Mission Control and provisions or refreshes the gateway’s main agent.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/JorgeMedinaArauna/OpenClaw-Mission_control/llms.txt
Use this file to discover all available pages before exploring further.
Authorization: Bearer <token> header.
ws://gateway-host:18789 or wss://gateway.example.com)/home/ubuntu/.openclaw/workspacescontrol_ui modeImportant: When true, the gateway must have dangerouslyDisableDeviceAuth: true in its configGatewayRead object with the same structure as List Gateways.
GATEWAY_MIN_VERSION)is_gateway_main=true and board_id=nullcurl -X POST "https://api.example.com/api/v1/gateways" \
-H "Authorization: Bearer your-token-here" \
-H "Content-Type: application/json" \
-d '{
"name": "Production Gateway",
"url": "ws://72.62.201.147:18789",
"workspace_root": "/home/ubuntu/.openclaw/workspaces",
"disable_device_pairing": true,
"allow_insecure_tls": false
}'
{
"id": "55cc268a-4b45-400f-accf-201e025232ac",
"organization_id": "org-123e4567-e89b-12d3-a456-426614174000",
"name": "Production Gateway",
"url": "ws://72.62.201.147:18789",
"workspace_root": "/home/ubuntu/.openclaw/workspaces",
"gateway_agent_id": "agent-01JCXYZ123",
"allow_insecure_tls": false,
"disable_device_pairing": true,
"created_at": "2026-03-05T10:30:00Z",
"updated_at": "2026-03-05T10:30:00Z"
}
disable_device_pairing=true, ensure the gateway has this configuration in ~/.openclaw/openclaw.json:
{
"gateway": {
"controlUi": {
"allowInsecureAuth": true,
"dangerouslyDisableDeviceAuth": true
}
}
}
# Stop the gateway
pkill -f openclaw
# Start the gateway
openclaw gateway start
# Test connectivity
wscat -c ws://gateway-host:18789
# Should see WebSocket connection established
ps aux | grep openclawnc -zv gateway-host 18789dangerouslyDisableDeviceAuth: true in gateway configdisable_device_pairing: true in gateway recordGATEWAY_MIN_VERSION (default: 2026.02.9)openclaw --version