General Information
Connection Type
UI Documentation
📖 For detailed information: [UI Documentation Link - Link will be added here]
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 - Basic UDP Connection
Full JSON Body Example - TCP with SSL
Full JSON Body Example - RFC 5425 Format
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 |
Syslog-Specific Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| syslogProtocolType | string | No | TCP | Protocol type. See EnumSyslogProtocolType |
| syslogMessageHostname | string | No | - | Hostname to include in syslog messages (some cloud services use this for secret keys) |
| syslogServerHostname | string | Yes | - | Syslog server hostname or IP address |
| syslogPort | integer | No | 514 | Syslog server port (default: 514, standard Syslog port) |
| syslogTimeout | integer | No | 500 | Connection timeout in milliseconds (for TCP only) |
| syslogMessageFormat | string | No | RFC_3164 | Message format. See MessageFormat |
| syslogAppName | string | No | Apinizer | Application name to include in syslog messages |
| syslogFacility | string | No | AUDIT | Syslog facility. See Facility |
| syslogSeverity | string | No | INFORMATIONAL | Syslog severity level. See Severity |
| syslogSslEnabled | boolean | No | false | Enable SSL/TLS encryption (TCP only) |
EnumSyslogProtocolType (syslogProtocolType)
TCP- TCP transport (reliable, ordered delivery, supports SSL)UDP- UDP transport (faster, but unreliable, no SSL support)
MessageFormat (syslogMessageFormat)
RFC_3164- BSD Syslog Protocol (RFC 3164)RFC_5424- The Syslog Protocol (RFC 5424)RFC_5425- Transport Layer Security (TLS) Transport Mapping for Syslog (RFC 5425)
Facility (syslogFacility)
KERN- Kernel messagesUSER- User-level messagesMAIL- Mail systemDAEMON- System daemonsAUTH- Security/authorization messagesSYSLOG- Messages generated internally by syslogdLPR- Line printer subsystemNEWS- Network news subsystemUUCP- UUCP subsystemCRON- Clock daemonAUTHPRIV- Security/authorization messages (private)FTP- FTP daemonNTP- NTP subsystemAUDIT- Log auditALERT- Log alertCLOCK- Clock daemonLOCAL0- Local use 0LOCAL1- Local use 1LOCAL2- Local use 2LOCAL3- Local use 3LOCAL4- Local use 4LOCAL5- Local use 5LOCAL6- Local use 6LOCAL7- Local use 7
Severity (syslogSeverity)
EMERGENCY- System is unusableALERT- Action must be taken immediatelyCRITICAL- Critical conditionsERROR- Error conditionsWARNING- Warning conditionsNOTICE- Normal but significant conditionINFORMATIONAL- Informational messagesDEBUG- Debug-level messages
Notes
syslogServerHostnameis required.syslogPortdefaults to 514 (standard Syslog port).syslogProtocolTypedefaults to TCP.syslogSslEnabledis only applicable for TCP connections.syslogTimeoutis only used for TCP connections.syslogMessageHostnamecan be used by some cloud Syslog services to transmit secret keys.syslogAppNamedefaults to “Apinizer”.syslogMessageFormatdefaults to RFC_3164 (BSD Syslog).- RFC_5425 format typically uses port 6514 (TLS Syslog).
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
-
Protocol Types:
TCP- Reliable, ordered delivery. Supports SSL/TLS encryption. Recommended for production.UDP- Faster, but unreliable. No SSL support. Use for high-throughput scenarios where message loss is acceptable.
-
Message Formats:
RFC_3164- BSD Syslog Protocol (legacy, widely supported)RFC_5424- Modern Syslog Protocol (structured data support)RFC_5425- TLS Transport Mapping (RFC 5424 over TLS, typically uses port 6514)
-
Ports:
- Standard Syslog port: 514 (UDP/TCP)
- TLS Syslog port: 6514 (TCP with SSL)
-
SSL/TLS:
syslogSslEnabled: trueenables SSL/TLS encryption (TCP only)- Use RFC_5425 format for TLS Syslog (port 6514)
- UDP does not support SSL/TLS
-
Facility:
- Facility codes identify the source of the message
- Standard facilities: KERN, USER, MAIL, DAEMON, AUTH, etc.
- Local facilities: LOCAL0 through LOCAL7 (custom use)
- Default: AUDIT
-
Severity:
- Severity levels indicate message importance
- Lower numeric values indicate higher severity
- Default: INFORMATIONAL
-
Timeout:
syslogTimeoutis only used for TCP connections- Default: 500ms
- Increase for slow networks or high-latency connections
-
Message Hostname:
syslogMessageHostnameis included in syslog messages- Some cloud Syslog services use this field to transmit secret keys
- Can be different from
syslogServerHostname
-
Application Name:
syslogAppNameidentifies the application sending logs- Default: “Apinizer”
- Useful for filtering logs by application
-
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

