Usage
Basic Examples
Create Public URL for Existing Service
Auto-Detect and Expose
If the service isn’t exposed yet,connect link will detect and expose it:
Webhook Testing
Options
Service name or target (e.g.,
my-api or localhost:3000)Expiration duration:
1h, 24h, 7d, 30d, or neverAllowed HTTP methods (comma-separated). Example:
GET,POSTAllowed paths (comma-separated). Example:
/api,/health. Paths must start with /Rate limit in requests per minute
Service name (auto-detected if not provided)
Hub server URL
Config file path
Access Control Examples
Read-Only Access
Specific Paths Only
Rate Limited
Combined Restrictions
Use Cases
Webhook Development
Test Stripe, GitHub, Twilio webhooks against your local server
Open Source Contributions
Let contributors access your API without sharing credentials
Client Demos
Share work-in-progress with clients securely
API Sharing
Provide temporary API access to partners or contractors
Link Management
View Active Links
Links are managed through the web dashboard or API. Use the API to list active links:Revoke a Link
Revoke via API:Security Best Practices
Public links bypass authentication. Use access controls to limit exposure.
- Set expiration - Use short durations for temporary access
- Restrict methods - Limit to
GETfor read-only access - Restrict paths - Only expose specific endpoints
- Add rate limits - Prevent abuse
- Monitor logs - Check access patterns in audit logs
How It Works
- Service Detection - If target is
localhost:PORT, service is auto-exposed - Link Creation - Public URL is generated with optional restrictions
- Reverse Proxy - Requests are proxied to your local service
- Access Control - Methods, paths, and rate limits are enforced
- Expiration - Link auto-expires after the specified duration
Related Commands
connect expose- Expose services (private access)connect share- Share environments with teammates (requires authentication)- Shares API - Programmatic link management
Exit Codes
0- Success1- Error (service not found, network issue)2- Invalid arguments