General Information
Connection Type
UI Documentation
Endpoints
List Connections
Get Connection
Create Connection
Update Connection
Delete Connection
List Connections
Endpoint
Request
Headers
| Header | Value |
|---|---|
| Authorization | Bearer |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
type query parameter is required to filter connections by type.
cURL Example
Get Connection
Endpoint
Request
Headers
| Header | Value |
|---|---|
| Authorization | Bearer |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
| connectionName | string | Yes | Connection name |
Response
Success Response (200 OK)
cURL Example
Create Connection
Endpoint
Request
Headers
| Header | Value |
|---|---|
| Authorization | Bearer |
| Content-Type | application/json |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
| connectionName | string | Yes | Connection name |
Request Body
Full JSON Body Example - SNMP v1 Trap
Full JSON Body Example - SNMP v2c Inform
Full JSON Body Example - SNMP v3 with Authentication and Privacy
Full JSON Body Example - SNMP v3 with Authentication Only
Full JSON Body Example - SNMP v3 No Authentication
Request Body Fields
Common Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| type | string | Yes | - | Connection type discriminator field. Identifies the connection type in API requests/responses. |
| name | string | Yes | - | Connection name (must match path parameter) |
| description | string | No | - | Connection description |
| deployToWorker | boolean | No | true | Whether to deploy to worker |
| enabled | boolean | No | true | Whether connection is enabled |
SNMP Common Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| version | string | Yes | V1 | SNMP version. See EnumSnmpVersion |
| connectionString | string | Yes | udp:192.168.1.2/162 | Connection string (format: protocol:host/port) |
| securityOrCommunityName | string | Yes | - | Community name (v1/v2c) or security name (v3) |
| retryCount | integer | No | - | Number of retry attempts |
| timeout | integer | No | - | Timeout in milliseconds |
| messageType | string | No | - | Message type. See Enum Snmp Message Type |
| pduOidForMessage | string | Yes | - | OID for message content |
| pduOidForTime | string | No | - | OID for timestamp |
| pduVariableMap | object | No | Map of OID-value pairs for PDU variables |
SNMP v3 Specific Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| securityLevel | string | No | - | Security level (v3 only). See EnumSnmpSecurityLevel |
| privacyProtocolList | array | No | [] | List of supported privacy protocols (v3 only). See EnumSnmpPrivacyProtocol |
| enableUserAuthentication | boolean | No | false | Enable user authentication (v3 only) |
| securityName | string | No | - | Security name (v3 only, required if enableUserAuthentication=true) |
| usmUserAuthenticationProtocol | string | No | - | Authentication protocol (v3 only, required if securityLevel=AUTH_NOPRIV or AUTH_PRIV). See EnumSnmpAuthenticationProtocol |
| authPassphrase | string | No | - | Authentication passphrase (v3 only, required if securityLevel=AUTH_NOPRIV or AUTH_PRIV, secret field) |
| usmUserPrivacyProtocol | string | No | - | Privacy protocol (v3 only, required if securityLevel=AUTH_PRIV). See EnumSnmpPrivacyProtocol |
| privPassphrase | string | No | - | Privacy passphrase (v3 only, required if securityLevel=AUTH_PRIV, secret field) |
EnumSnmpVersion (version)
V1- SNMP version 1 (default)V2c- SNMP version 2c (community-based)V3- SNMP version 3 (user-based security)
Enum Snmp Message Type (messageType)
TRAP- SNMP trap (unacknowledged)INFORM- SNMP inform (acknowledged)
EnumSnmpSecurityLevel (securityLevel) - v3 only
NOAUTH_NOPRIV- No authentication, no privacyAUTH_NOPRIV- Authentication, no privacyAUTH_PRIV- Authentication and privacy
EnumSnmpPrivacyProtocol (usmUserPrivacyProtocol, privacyProtocolList)
PrivAES128- AES 128-bit encryptionPrivAES192- AES 192-bit encryptionPrivAES192with3DES- AES 192-bit with 3DESPrivAES256- AES 256-bit encryptionPrivAES256with3DES- AES 256-bit with 3DESPrivDES- DES encryptionPriv3DES- 3DES encryption
EnumSnmpAuthenticationProtocol (usmUserAuthenticationProtocol)
AuthMD5- MD5 authenticationAuthSHA- SHA-1 authenticationAuthHMAC128SHA224- HMAC-SHA224 authenticationAuthHMAC192SHA256- HMAC-SHA256 authenticationAuthHMAC256SHA384- HMAC-SHA384 authenticationAuthHMAC384SHA512- HMAC-SHA512 authentication
Notes
version,connectionString,securityOrCommunityName, andpduOidForMessageare required.connectionStringformat:protocol:host/port(e.g.,udp:192.168.1.2/162,tcp:192.168.1.2/162)- For SNMP v1/v2c:
securityOrCommunityNameis the community name (e.g., “public”). - For SNMP v3:
securityOrCommunityNameis the security name (user name). - SNMP v3 fields are only used when
version: "V3". securityLeveldetermines required fields:NOAUTH_NOPRIV: No additional fields requiredAUTH_NOPRIV: RequiresusmUserAuthenticationProtocolandauthPassphraseAUTH_PRIV: RequiresusmUserAuthenticationProtocol,authPassphrase,usmUserPrivacyProtocol, andprivPassphrase
enableUserAuthentication: trueenables USM (User-based Security Model) authentication.pduVariableMapis a map of OID-value pairs for additional PDU variables.pduOidForTimeis optional OID for timestamp.
Response
Success Response (200 OK)
cURL Example
Update Connection
Endpoint
Request
Headers
| Header | Value |
|---|---|
| Authorization | Bearer |
| Content-Type | application/json |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
| connectionName | string | Yes | Connection name (must match name in body) |
Request Body
Full JSON Body Example
Response
Success Response (200 OK)
Delete Connection
Endpoint
Request
Headers
| Header | Value |
|---|---|
| Authorization | Bearer |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
| connectionName | string | Yes | Connection name |
Response
Success Response (200 OK)
Notes and Warnings
-
SNMP Versions:
V1- Legacy version, community-based security (default)V2c- Improved version, community-based securityV3- Modern version, user-based security (recommended for production)
-
Connection String:
- Format:
protocol:host/port - Protocols:
udp(default, port 162) ortcp(port 162) - Example:
udp:192.168.1.2/162ortcp:192.168.1.2/162
- Format:
-
Security Levels (v3):
NOAUTH_NOPRIV- No security (not recommended)AUTH_NOPRIV- Authentication only (messages authenticated but not encrypted)AUTH_PRIV- Full security (messages authenticated and encrypted, recommended)
-
Message Types:
TRAP- Unacknowledged notification (fire-and-forget)INFORM- Acknowledged notification (waits for acknowledgment)
-
Authentication Protocols:
AuthMD5- MD5 (legacy, not recommended)AuthSHA- SHA-1 (widely supported)AuthHMAC*- HMAC variants (stronger security)
-
Privacy Protocols:
PrivAES128- AES 128-bit (recommended)PrivAES256- AES 256-bit (strongest)PrivDES- DES (legacy, not recommended)
-
PDU Variables:
pduOidForMessage- OID for message content (required)pduOidForTime- OID for timestamp (optional)pduVariableMap- Additional OID-value pairs
-
Community/Security Name:
- v1/v2c: Community name (e.g., “public”, “private”)
- v3: Security name (user name)
-
Passphrases:
- Minimum length: 8 characters (SNMP requirement)
- Use strong passphrases in production
- Passphrases are masked in responses
-
Retry and Timeout:
retryCount- Number of retry attemptstimeout- Timeout in milliseconds- Important for INFORM messages (acknowledgment required)
-
Deployment: Connection changes require deployment to take effect. Set
deployToWorker: trueor deploy manually.
Related Documentation
- List Connections - List all connections
- Get Connection - Get a specific connection
- Create Connection - General connection creation guide
- Update Connection - General connection update guide
- Delete Connection - General connection deletion guide

