Skip to main content
The Connect module manages service connections for users. A user can have entitlements for multiple Flux services, and this module handles toggling the connected status. All endpoints require authentication via Authorization: Bearer <token>.

Check connection

GET /api/connect/check
Checks if the authenticated user is connected to a specific service.
service
string
required
The service identifier to check. Currently supported: DROP.

Response 200 - connected

{
  "connected": true,
  "service": "DROP",
  "tier": "pro",
  "isPremium": true
}

Response 200 - no entitlement

{
  "connected": false,
  "service": "DROP",
  "message": "No entitlement found for this service"
}

Connect to service

POST /api/connect/connect
Activates the user’s connection to a service. The user must already have an entitlement for the service.
service
string
required
The service identifier to connect to (e.g., DROP).

Response 200

{
  "connected": true,
  "service": "DROP",
  "tier": "pro",
  "isPremium": true,
  "message": "Successfully connected to service"
}

Response 200 - already connected

{
  "connected": true,
  "service": "DROP",
  "message": "Already connected to this service"
}

Response 404

{
  "message": "Service entitlement not found. Please ensure you have access to this service."
}

Disconnect from service

POST /api/connect/disconnect
Deactivates the user’s connection to a service without removing the entitlement.
service
string
required
The service identifier to disconnect from (e.g., DROP).

Response 200

{
  "connected": false,
  "service": "DROP",
  "tier": "pro",
  "isPremium": true,
  "message": "Successfully disconnected from service"
}

Response 404

{
  "message": "Service entitlement not found. Please ensure you have access to this service."
}