API Access

Manage API keys and monitor usage across all integrations

API Docs

Active Keys

5

1 revoked

Calls Today

20,796

of 50,000 quota

Quota Used

41.6%

resets at midnight UTC

Avg Latency

84ms

p95: 210ms

API Usage — Last 30 Days

Total calls per day across all keys

This month

539,460

Calls by Endpoint

Top endpoints this month

API Keys

5 active keys

Key NameSecret KeyScopesOrganizationLast UsedCalls TodayCalls / MonthStatus

POS Integration — FreshMart

phk_live_fmkt_...

phk_live_fmkt_••••••••••••••••4a2f
printprinters:readjobs:read
FreshMart Downtown5s ago8,421198,340Active
Revoke key — cannot be undone

Kitchen Display — Brew & Go

phk_live_brew_...

phk_live_brew_••••••••••••••••9c1b
printjobs:read
Brew & Go Café2m ago3,10274,810Active
Revoke key — cannot be undone

Kiosk Ticketing — QuickBite

phk_live_qbx_...

phk_live_qbx_••••••••••••••••7e4d
printprinters:readjobs:readjobs:cancel
QuickBite Express1m ago7,240218,900Active
Revoke key — cannot be undone

Prescription Labels — Metro

phk_live_mtrx_...

phk_live_mtrx_••••••••••••••••2b8a
printprinters:read
Metro Pharmacy8m ago1,89144,210Active
Revoke key — cannot be undone

Dev Testing Key

phk_test_dev1_...

phk_test_dev1_••••••••••••••••5f3c
printprinters:readjobs:readjobs:cancelprinters:write
GreenLeaf Grocery3h ago1423,210Active
Revoke key — cannot be undone

Old Staging Key

phk_test_stg0_...

phk_test_stg0_••••••••••••••••1a9e
print
FreshMart Downtown45d ago00Revoked

Quickstart — Send a Print Job

curl -X POST https://api.printhub.io/v1/jobs \
  -H "Authorization: Bearer phk_live_fmkt_..."  -H"Content-Type: application/json" \
  -d '{
    "printer_id": "prt-001",
    "content_type": "pdf_base64",
    "content": "JVBERi0xLjQK...",
    "copies": 1,
    "options": {
      "paper_width": "80mm",
      "cut": true
    }
  }'

Core Endpoints

POST/v1/jobs
GET/v1/jobs/{id}
DELETE/v1/jobs/{id}
GET/v1/printers
GET/v1/printers/{id}
POST/v1/printers/{id}/test