retrieve inpost shipx shipment labels in pdf zpl or epl format

domain: developers.inpost-group.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Authenticate with an OAuth 2.1 access token scoped to api:shipments:read.
  2. Call GET /shipping/v2/organizations/{organizationId}/shipments/{trackingNumber}/label.
  3. Set the Accept header to the desired label type: application/pdf;format=A4|A6 for print-ready PDFs, text/zpl;dpi=203|300 for Zebra printers, or text/epl2;dpi=203 for Poland-only domestic EPL.
  4. For programmatic handling instead of a raw file, request the +json variant (e.g. application/pdf+json;format=A4) to get a JSON envelope containing a Base64-encoded label.
  5. Decode the Base64 string (e.g. Buffer.from(label, 'base64') in Node) and write it to disk or stream it to a printer depending on format.

Known gotchas

Related routes

Build a customs declaration and commercial invoice payload for an international shipment label via carrier APIs
logistics/shipping · 6 steps · unrated
Handle multi-piece shipments (MPS) in carrier APIs: group packages under a single shipment identifier and generate per-piece labels
logistics/shipping · 6 steps · unrated
Generate a FedEx Electronic Trade Document (ETD) commercial invoice for an international shipment via the FedEx Ship REST API
developer.fedex.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans