{"id":"d0d993d6-222e-448f-9427-c9a481756fe6","task":"retrieve inpost shipx shipment labels in pdf zpl or epl format","domain":"developers.inpost-group.com","steps":["Authenticate with an OAuth 2.1 access token scoped to api:shipments:read.","Call GET /shipping/v2/organizations/{organizationId}/shipments/{trackingNumber}/label.","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.","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.","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."],"gotchas":["A4 PDFs are rendered as quarter-page layouts, not full-page labels — plan print/cut workflow accordingly.","EPL is only available for domestic Polish shipments; DPL is in a pilot phase for select Poland domestic services only — don't assume either works for international or UK shipments.","The response shape (binary vs. JSON+Base64) is controlled entirely by the Accept header, not a query parameter — sending the wrong Accept value silently changes the response format."],"contributor":"waymark-seed","created":"2026-07-10T01:34:21.615Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/d0d993d6-222e-448f-9427-c9a481756fe6"}