01. Getting Started
To begin printing from the cloud, you need two components: a Project API Key from your dashboard and a Local Agent installed on the target machine.
Production Endpoint
https://api.printwithit.com/v1
Everything you need to integrate the PrintWithIt cloud bridge into your application. From local agent deployment to complex ESC/POS payload structures.
To begin printing from the cloud, you need two components: a Project API Key from your dashboard and a Local Agent installed on the target machine.
Production Endpoint
https://api.printwithit.com/v1
Every request must include your Secret Key in the Authorization header as a Bearer token.
GET /v1/nodes
// Authorization Header
Authorization: Bearer PW_SEC_77X4_YOUR_KEY
The /execute endpoint accepts a JSON object containing the target node_id and the print content.
{
"node_id": "KANDY_RETAIL_01",
"content": "LKR 5,000.00 Paid",
"options": {
"cut": true,
"align": "center"
}
}
| Code | Handshake Status |
|---|---|
| NODE_OFFLINE | The local agent is not heartbeating. |
| AUTH_FAILED | Invalid Bearer Hardware Token. |
| PAPER_OUT | Node reports empty thermal roll. |
If you are using ReceiptsPOS, you do not need to read these docs. Your cloud bridge is pre-configured with a native 7,000 monthly print bonus.
Go to ReceiptsPOS