POST
/
connections
Create a new connection
curl --request POST \
  --url https://qubesync.com/api/v1/connections \
  --header 'Authorization: Basic <encoded-value>'
{
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "app_id": "550e8400-e29b-41d4-a716-446655440000",
    "username": "550e8400-e29b-41d4-a716-446655440001",
    "last_connected_at": null,
    "company_file": null
  }
}

Authorizations

Authorization
string
header
required

Use your app's API_KEY as the username, and leave the password blank

Response

201
application/json

Connection created successfully

The response is of type object.