API Reference
Programmatically manage projects, clients, invoices, AI agents, and infrastructure.
Base URL
https://devblock-console-server.devblocktechnologies.workers.devAll endpoints return JSON. Authenticated endpoints require a Bearer token or session cookie. WebSockets live at /ws.
Auth
Login, register, passkeys, verification, session management.
Organizations
Create and manage organizations, roles, and membership.
Projects
Projects, scaffolding, deployments, infrastructure, and secrets.
Clients
Client records, contract status, and project assignments.
Invoices
Invoice creation, generation, and payment status.
Dashboard
Aggregated stats, metrics, and business intelligence.
Chat
Chat rooms, direct messages, and real-time messaging.
Logs
Structured logs, telemetry, and audit trails.
Files
File storage, R2 objects, and GitHub repository import.
Transactional email, routing, and Resend configuration.
Sage AI
Sage inference proxy, metrics, and coding agent sessions.
Agent API
REST API for AI agent developers, plus MCP server.
API Keys
Create and manage scoped API keys for automation.
System
Health checks and infrastructure status (public status too).
Webhooks
Inbound webhooks for external integrations.
Pricing
Plan pricing and self-serve checkout.
Uptime
Uptime checks, monitoring alerts, and health checks.
Maintenance
Scheduled maintenance plans and assignments.
Building an AI agent?
Explore the Agent REST API and MCP server for connecting AI agents to DevBlock.