Connections
Create connection
Create a new Connection
POST
/
v1
/
connections
/
Copy
curl --request POST \
--url https://api.hazel.sh/v1/connections/ \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"publicSourceId": "<string>",
"publiceDestinationId": "<string>"
}'
Copy
{
"id": "<string>",
"name": "<string>",
"sourceId": "<string>",
"destinationId": "<string>",
"workspaceId": "<string>"
}
Body
Response
200
application/json
Details of the Connection
The response is of type object
.
Copy
curl --request POST \
--url https://api.hazel.sh/v1/connections/ \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"publicSourceId": "<string>",
"publiceDestinationId": "<string>"
}'
Copy
{
"id": "<string>",
"name": "<string>",
"sourceId": "<string>",
"destinationId": "<string>",
"workspaceId": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.