Overview
The Private Connect Control API provides programmatic access to tunnel management, agent orchestration, and service connectivity. Use the API to automate infrastructure operations, integrate with CI/CD pipelines, and build custom tooling.Base URL
All API requests should be made to:Versioning
All endpoints are prefixed with/v1/. Future breaking changes will use /v2/ to maintain backwards compatibility.
Current version: v1.0
Request Format
AllPOST, PATCH, and PUT requests should send JSON data with the Content-Type header:
Response Format
All responses are returned as JSON with appropriate HTTP status codes:200- Success201- Resource created400- Bad request (validation error)401- Unauthorized (missing or invalid credentials)403- Forbidden (valid credentials, insufficient permissions)404- Resource not found429- Rate limit exceeded500- Internal server error502- Bad gateway (upstream service error)503- Service unavailable
Success Response
Error Response
Rate Limiting
Rate limits are enforced per API key:- Public endpoints: 100 requests/minute
- Authenticated endpoints: 1,000 requests/minute
- Share proxying: 5,000 requests/minute
429 Too Many Requests response:
Interactive Documentation
Explore and test the API interactively using Swagger UI:API Resource Groups
Agents
Register agents, manage capabilities, and send commands
Services
Expose services, run diagnostics, and manage public access
Tunnels
Create tunnels, manage connections, and share access
Shares
Create shareable links with access control and monitoring
Webhooks
Subscribe to events and receive real-time notifications
Authentication
Manage API keys and authenticate requests
Health Check
Check API status and database connectivity:Getting Started
- Create an API Key - Generate an API key from the dashboard at app.privateconnect.co
- Authenticate Requests - Include your API key in the
x-api-keyheader - Register an Agent - Use
/v1/agents/provisionto get agent credentials - Expose a Service - Use
/v1/services/registerto make a service accessible - Create a Share - Use
/v1/services/:id/sharesto generate shareable links
Support
For API support:- Documentation: privateconnect.co/docs
- Status Page: status.privateconnect.co
- GitHub Issues: Report bugs and request features