API keys.
A key for each app, with only what it needs.
What it may do
Print, see jobs, see printers, manage webhooks. On every printer or the ones you choose, until a date if you like.
printers:read | See printers, places and computers. |
|---|---|
jobs:read | See every job of the workspace. |
jobs:write | Print, and see and act on the jobs it sent: confirm, reprint, cancel, delete. |
webhooks:manage | Add and change its own webhooks. A webhook hears only what its key may read. |
How to send it
Authorization: Bearer pl_…, over https. A request over http is refused, and its key should be replaced.
The same call, over http403 Forbidden
Keep it secret
On your server only, never in a web page or an app people install.
Change it
A new secret keeps the old one working for an hour. Stop a key for a while, or revoke it for good.
In the app: Settings → API keys.