Skip to main content
Technical Preview

Overview

Client-mode REST API connectors for BarTender label printing: print BarTender documents with data from MQTT through the BarTender 2022+ Actions API (on-premises or BarTender Cloud) or Print Portal, follow the print script status and variables, and list printers and Print Portal libraries. This is one of the templates in the BarTender (Seagull Scientific) label printing REST API app (bartender-label-printing). Deploy it alongside the other connectors of that app when they depend on each other (for example a token connector plus an API connector).

Auth

  • BarTenderActions: Windows authentication (Negotiate) on the REST service; not sent by the connector (reverse proxy needed, unverified)
  • BarTenderCloud: Authorization: Bearer {value.json.access_token}
  • BarTenderPrintPortal: POST /BarTender/api/v1/Authenticate {userName,password} -> token; Authorization: Bearer {value.json.token}
  • secret: [“BARTENDER_PORTAL_USERNAME”, “BARTENDER_PORTAL_PASSWORD”]
Auth headers used by the template: Authorization: Bearer {value.json.token}.

Template parameters

BASE_ADDRESS default: https://YOUR_PRINT_PORTAL_HOST.

Events

Deploy

Get the template card (JSON with template and metadata) from the broker, then deploy the connector:
The deployable connector from the REST API app, with BASE_ADDRESS already filled in:
Deploy it with -addConnector (do not include ADD METADATA).

Usage example

Call PortalAuthenticate by publishing a JSON payload to its request topic, and read the reply on the response topic:
Last modified on October 26, 2026