Developer Hub
API Documentation
Integrate PrintSilently into your tech stack with our REST API.
Authentication
All API requests must be authenticated using a Bearer token. You can generate an API key from the Admin Dashboard.
Authorization: Bearer YOUR_API_KEY
Endpoints
GET /api/v1/printers
Retrieve a list of all connected printers across your organization.
POST /api/v1/print
Send a print job to a specific printer.
{
"printer_id": "prn_123456",
"document_type": "pdf",
"document_url": "https://example.com/invoice.pdf",
"options": {
"copies": 1,
"silent": true
}
}
GET /api/v1/jobs/{job_id}
Check the status of a specific print job (e.g. queued, printed, failed).
Supported Formats
- PDF: Standard documents, invoices, and reports.
- HTML: Render HTML directly to printers.
- ZPL: Raw Zebra Programming Language for thermal labels.
- ESC/POS: Raw receipt printer commands.
- Image: PNG, JPEG rendering.
Webhooks
Configure webhooks in the dashboard to receive real-time HTTP POST notifications when a print job succeeds or fails.