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 - Basic Configuration
Full JSON Body Example - With Authentication
Full JSON Body Example - With SSL
Full JSON Body Example - High Availability
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 |
RabbitMQ-Specific Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| hostPortList | array | Yes | - | List of RabbitMQ host/port pairs. See ConfigRabbitMqHostPort |
| connectionFactoryVirtualHost | string | No | / | Virtual host name |
| authenticationEnabled | boolean | No | false | Enable authentication |
| connectionFactoryUsername | string | No* | null | RabbitMQ username (required if authenticationEnabled=true) |
| connectionFactoryPassword | string | No* | null | RabbitMQ password (required if authenticationEnabled=true, secret field) |
| connectionFactoryConnectionTimeout | integer | No | 60000 | Connection timeout in milliseconds |
| connectionFactoryClientProperties | object | No | null | Client properties map (key-value pairs) |
| connectionFactoryRequestedChannelMax | integer | No | 2047 | Requested channel maximum |
| connectionFactoryRequestedFrameMax | integer | No | 0 | Requested frame maximum (0 = unlimited) |
| connectionFactoryRequestedHeartbeat | integer | No | 60 | Requested heartbeat interval in seconds |
| connectionFactoryUseSslProtocol | boolean | No | false | Use SSL/TLS protocol |
| connectionFactorySslProtocol | string | No | TLSv1.2 | SSL protocol version (e.g., “TLSv1.2”, “TLSv1.3”) |
| channelExchange | string | No | "" | Exchange name (empty string for default exchange) |
| channelRoutingKey | string | No | - | Routing key pattern (e.g., “my-queue”, “order.created”) |
| basicPropertiesAppId | string | No | apinizer | Application ID for message properties |
| basicPropertiesContentType | string | No | application/json | Content type for message properties |
| basicPropertiesContentEncoding | string | No | null | Content encoding for message properties |
| basicPropertiesDeliveryMode | integer | No | null | Delivery mode: 1 (non-persistent) or 2 (persistent) |
| basicPropertiesPriority | integer | No | null | Message priority (0-255) |
| basicPropertiesReplyTo | string | No | null | Reply-to queue name |
| basicPropertiesExpiration | string | No | null | Message expiration time (milliseconds as string) |
| basicPropertiesType | string | No | null | Message type |
| basicPropertiesUserId | string | No | null | User ID for message properties |
| basicPropertiesClusterId | string | No | null | Cluster ID for message properties |
Note
hostPortListmust contain at least one host/port pair.- If
authenticationEnabled: true, bothconnectionFactoryUsernameandconnectionFactoryPasswordare required. connectionFactoryVirtualHostdefaults to ”/” (root virtual host).channelExchangecan be empty string for default exchange.basicPropertiesDeliveryMode:1= non-persistent,2= persistent (recommended for reliability).
ConfigRabbitMqHostPort
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| host | string | Yes | localhost | RabbitMQ broker hostname or IP address |
| port | integer | No | 5672 | RabbitMQ broker port (5672 for AMQP, 5671 for AMQPS) |
hostPortList. Multiple hosts can be specified for high availability.
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
-
RabbitMQ Hosts:
- At least one host is required in
hostPortList - Multiple hosts can be specified for high availability
- Each host must have
hostandport - Default port: 5672 (AMQP), 5671 (AMQPS)
- At least one host is required in
-
Virtual Host:
connectionFactoryVirtualHostdefaults to ”/” (root virtual host)- Virtual hosts provide logical separation in RabbitMQ
-
Authentication:
- When
authenticationEnabled: true, bothconnectionFactoryUsernameandconnectionFactoryPasswordare required - Default credentials: guest/guest (change in production)
- Password is stored securely and masked in responses
- When
-
SSL/TLS:
connectionFactoryUseSslProtocol: trueenables SSL/TLSconnectionFactorySslProtocolspecifies protocol version (TLSv1.2, TLSv1.3)- Use port 5671 for AMQPS
-
Connection Settings:
connectionFactoryConnectionTimeout- Connection timeout in millisecondsconnectionFactoryRequestedChannelMax- Maximum channels per connectionconnectionFactoryRequestedFrameMax- Maximum frame size (0 = unlimited)connectionFactoryRequestedHeartbeat- Heartbeat interval in seconds (keeps connection alive)
-
Channel Settings:
channelExchange- Exchange name (empty for default exchange)channelRoutingKey- Routing key pattern- Default exchange routes messages directly to queues by routing key
-
Message Properties:
basicPropertiesAppId- Application identifierbasicPropertiesContentType- Message content type (e.g., “application/json”)basicPropertiesContentEncoding- Content encoding (e.g., “UTF-8”)basicPropertiesDeliveryMode-1(non-persistent) or2(persistent)basicPropertiesPriority- Message priority (0-255)basicPropertiesExpiration- Message TTL in milliseconds (as string)basicPropertiesType- Message type identifierbasicPropertiesReplyTo- Reply-to queue namebasicPropertiesUserId- User IDbasicPropertiesClusterId- Cluster ID
-
Delivery Mode:
1- Non-persistent (messages lost on broker restart)2- Persistent (messages survive broker restart, recommended)
-
Performance:
- Heartbeat keeps connections alive
- Connection pooling improves performance
- Multiple hosts provide high availability
-
Security:
- Use authentication in production
- Use SSL/TLS for encrypted communication
- Change default credentials
-
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

