GET
/
v1
/
connections
/
{id}
cURL
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

id
string
required

Response

A Connection

id
integer
required
name
string
required
workspaceId
string
required
publicId
string
required
enabled
boolean
required
sourceId
string
required
destinationId
string
required
source
object
required
destination
object
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
delay
integer | null
retryCount
integer | null
retryDelay
integer | null
retryType
enum<string> | null
Available options:
fixed,
anotherType1,
anotherType2
fluxConfig
object