Connections
Get connection
Get a specific Connection
GET
/
v1
/
connections
/
{id}
curl --request GET \
--url https://api.hazel.sh/v1/connections/{id}
{
"id": 123,
"name": "<string>",
"workspaceId": "<string>",
"publicId": "<string>",
"enabled": true,
"sourceId": "<string>",
"destinationId": "<string>",
"source": {
"id": 123,
"name": "<string>",
"workspaceId": "<string>",
"publicId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"key": "<string>",
"integrationId": 123
},
"destination": {
"id": 123,
"name": "<string>",
"workspaceId": "<string>",
"publicId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"key": "<string>",
"url": "<string>",
"websocket_connection": true
},
"delay": 123,
"retryCount": 123,
"retryDelay": 123,
"retryType": "fixed",
"fluxConfig": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
Path Parameters
Response
200
application/json
A Connection
The response is of type object
.
curl --request GET \
--url https://api.hazel.sh/v1/connections/{id}
{
"id": 123,
"name": "<string>",
"workspaceId": "<string>",
"publicId": "<string>",
"enabled": true,
"sourceId": "<string>",
"destinationId": "<string>",
"source": {
"id": 123,
"name": "<string>",
"workspaceId": "<string>",
"publicId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"key": "<string>",
"integrationId": 123
},
"destination": {
"id": 123,
"name": "<string>",
"workspaceId": "<string>",
"publicId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"key": "<string>",
"url": "<string>",
"websocket_connection": true
},
"delay": 123,
"retryCount": 123,
"retryDelay": 123,
"retryType": "fixed",
"fluxConfig": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}