REST API
Create a token in your pip account under Account, then Connected apps & tokens. Give it a label (it prints as “from <label>”), optionally limit it to some of your pips, and revoke it any time. The API lives at:
https://app.pipandpaper.com/v1
Print a daily plan
Send a content object (or wrap it as {"content": …}):
curl -X POST https://app.pipandpaper.com/v1/printers/$PIP_PRINTER_ID/prints \
-H "Authorization: Bearer $PIP_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"type": "plan",
"greeting": "Morning, team!",
"items": [
{ "time": "07:30", "text": "School run" },
{ "time": "15:30", "text": "Swimming" },
{ "text": "Dinner: tacos" }
]
}'
Print plain text
curl -X POST https://app.pipandpaper.com/v1/printers/$PIP_PRINTER_ID/prints \
-H "Authorization: Bearer $PIP_TOKEN" \
-H "Content-Type: text/plain" \
--data "Back at 6. Pizza in the freezer x"
Schedule a print from JavaScript
await fetch("https://app.pipandpaper.com/v1/printers/" + printerId + "/prints", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PIP_TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
content: { type: "checklist", title: "Saturday jobs", items: ["Feed the cat", "Tidy lego"] },
at: "2027-02-13T08:00", // optional: print later, in the printer's local time
}),
});
A successful request returns 202 Accepted with the print's id, status and apreviewUrl. Requests during quiet hours are held until they end. Each token or assistant can print 12 times an hour, and a pip takes 30 an hour and 120 a day by default (the owner can change these). Over a limit you'll get 429 with a Retry-After header. A single print can be up to 1.5 m of paper.