P4 Software P4 Software / BarcoderX English

Add these docs to Claude

Ask Claude questions about these docs. Claude reads the published pages and links you back to them. Copy this address:

https://docs.p4software.cloud/mcp

In claude.ai or Claude Desktop: open Settings, then Connectors, choose Add custom connector and paste the address.

In Claude Code, run:

claude mcp add --transport http docs https://docs.p4software.cloud/mcp

Authentication and access

Authentication and access

Applies to: BarcoderX Basic and Ultimate

Status: Planned. Nothing is released yet and there is nothing to download. This page explains the ideas for the API server that you run. The exact steps are written when the API is released.

Who is calling

Every call to the web API comes from something that your server can identify. These kinds of caller are planned:

CallerHow it proves who it is
Your programSends an API key.
A service of yoursUses the OAuth2 client credentials flow.
A print agentSigns a short-lived assertion with its own private key. You do not code this. See The print agent.

The API is designed so that it does not depend on one identity provider. Which providers are supported is confirmed before the first release. How a person signs in to a page that embeds the label editor is also settled later.

API keys

An API key lets a program call the API without a person.

  • A key looks like bx_<env>_<keyId>_<secret>. You send it in the Authorization header as a bearer token.
  • BarcoderX shows the whole key once, when you create it. After that it keeps only a protected fingerprint of it, so it cannot show the key again. Keep it as you would a password.
  • A key can have a list of permissions, an expiry date and a list of allowed IP addresses.
  • BarcoderX never writes a key to a log.

Permissions

Every call needs a permission called a scope.

ScopeWhat it allows
templates.readRead templates
templates.writeCreate and change templates
renderRender, export and make printer commands
printPrint and read print jobs
assets.writeUpload and delete fonts and images
printers.manageRegister printers, enrol agents, run maintenance
templates.rawUse raw printer commands in a template
adminAPI keys and the audit log

The scope templates.raw is never granted by default.

Other protections

  • All traffic uses HTTPS.
  • Every change that someone makes and every security event is written to an audit record.
  • Print jobs and data sources are encrypted while stored in your database. Print jobs are purged after a retention period.

BarcoderX is a product of P4 Software.

Was this page helpful?