Skip to content

WebSocket Permissions

WebSocket uses API Client permissions. The service validates the current client, application, account, and device state when creating a ticket and executing requests.

RequestRequired permission
session.pingAuthenticated connection
device.state.getdevice:read
device.operation.execute + device.relay.setdevice:control
device.operation.execute + device.rs485.transceivedevice:control
device.operation.execute + device.rs485.baudRate.setdevice:config
device.operation.execute + device.relay.jogConfig.setdevice:config

A missing permission returns:

json
{
  "type": "reply",
  "requestId": "req_relay_001",
  "code": "AUTH_SCOPE_DENIED",
  "message": "This operation requires the device:control permission. Update the API Client permissions in the Developer Console and obtain a new access token.",
  "data": {
    "requiredScope": "device:control"
  }
}

After changing API Client permissions, obtain a new access token and create a new WebSocket ticket. Do not continue using a token issued before the permission change.

Docs buildVersion v1.3.6-20260720-180213-70
Copyright © 2026 WLTE