POST
/
v1
/
connections
curl --request POST \
  --url https://api.hazel.sh/v1/connections/ \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "publicSourceId": "<string>",
  "publiceDestinationId": "<string>"
}'
{
  "id": "<string>",
  "name": "<string>",
  "sourceId": "<string>",
  "destinationId": "<string>",
  "workspaceId": "<string>"
}

Body

name
string
required
Required string length: 2 - 3
publicSourceId
string
required
Required string length: 21
publiceDestinationId
string
required
Required string length: 21

Response

200
application/json
Details of the Connection
id
string
required
name
string
required
sourceId
string
required
destinationId
string
required
workspaceId
string
required