Connections
Get connections
Returns all Connections in your Workspace
GET
/
v1
/
connections
curl --request GET \
--url https://api.hazel.sh/v1/connections/
[
{
"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"
}
]
Response
200 - application/json
A list of Connections
The response is of type object[]
.
curl --request GET \
--url https://api.hazel.sh/v1/connections/
[
{
"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"
}
]