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 POST Webhook
Full JSON Body Example - GET Webhook with Authentication
Full JSON Body Example - PUT Webhook with Custom Headers
Full JSON Body Example - HTTPS Webhook
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 |
Webhook-Specific Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| httpMethod | string | No | GET | HTTP method. See EnumHttpRequestMethod |
| fullUrl | string | Yes | - | Full webhook URL (including protocol, host, path, and optional query parameters) |
| headerList | array | No | [] | List of HTTP headers to include in requests |
| timeout | integer | No | 2 | Connection timeout in seconds |
| connectionPoolMaxConnectionPerHost | integer | No | 24 | Maximum number of connections per host in connection pool |
| connectionPoolMaxConnectionTotal | integer | No | 48 | Maximum total number of connections in connection pool |
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | Header name (e.g., “Content-Type”, “Authorization”) |
| value | string | Yes | Header value |
EnumHttpRequestMethod (httpMethod)
GET- GET request (default)POST- POST requestPUT- PUT requestDELETE- DELETE requestPATCH- PATCH requestHEAD- HEAD requestOPTIONS- OPTIONS request
Notes
fullUrlis required and must be a valid URL (http:// or https://).httpMethoddefaults to GET.timeoutis specified in seconds (default: 2 seconds).headerListis an array of header objects withnameandvaluefields.connectionPoolMaxConnectionPerHostlimits connections per host (default: 24).connectionPoolMaxConnectionTotallimits total connections (default: 48).- HTTPS URLs are supported with SSL/TLS (certificate validation is disabled by default).
- Query parameters can be included in
fullUrl(will be properly encoded).
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
-
HTTP Methods:
- All standard HTTP methods are supported: GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS
- Default method is GET
- POST is commonly used for webhooks
-
URL Format:
fullUrlmust be a complete URL including protocol (http:// or https://)- Query parameters can be included in the URL (will be properly encoded)
- Example:
https://webhook.example.com/api/notify?param=value
-
Headers:
headerListis an array of header objects- Each header object has
nameandvaluefields - Common headers: Content-Type, Authorization, X-API-Key, etc.
- Headers are sent with every request
-
Timeout:
timeoutis specified in seconds (not milliseconds)- Default: 2 seconds
- Timeout applies to connect, socket, and connection request timeouts
- Increase timeout for slow networks or long-running operations
-
Connection Pooling:
- Connection pooling improves performance by reusing connections
connectionPoolMaxConnectionPerHost- Maximum connections per host (default: 24)connectionPoolMaxConnectionTotal- Maximum total connections (default: 48)- Increase pool sizes for high-throughput scenarios
- Pool size should be balanced with server capacity
-
SSL/TLS:
- HTTPS URLs are supported
- SSL certificate validation is disabled by default (trusts all certificates)
- Supported protocols: TLSv1.3, TLSv1.2, TLSv1.1, TLSv1, SSLv3, SSLv2Hello
-
Query Parameters:
- Query parameters can be included in
fullUrl - Parameters are automatically encoded
- Example:
https://api.example.com/webhook?key=value¶m=data
- Query parameters can be included in
-
Performance:
- Connection pooling reduces overhead for multiple requests
- Timeout settings affect request behavior
- Pool sizes should match expected load
-
Security:
- Use HTTPS for production webhooks
- Store sensitive tokens/keys securely
- Consider using environment variables or secrets management
-
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

