Skip to content

Printing Tools

The event’s Badge Template (Integrations > EventHAUS Kiosk) for one slot: whether each slot is published, the live definition (JSON text) with its template version and who published it, template warnings, the shared draft (definition + revision), the last 50 history versions, the uploaded images (asset ids a definition can reference), reference designs, the custom fields a template can print, and the event’s printing switch. expected_config_version and draft_revision are the values the write tools (publish / remove / restore / save draft / discard draft) need. Images and reference designs are uploaded on the web page only. Read-only.

Access: Read | Scope: Event

Parameter Type Required Description
event_id integer Yes ID of the event to operate on (see list_events). Must belong to an organization your key can access.
slot string No Template slot: thermal (the default when omitted) or inkjet. One of: thermal, inkjet.

The definition of one history version of the event’s Badge Template (by config_version, from get_badge_template’s versions list). definition is null for a “removed” version. Read-only.

Access: Read | Scope: Event

Parameter Type Required Description
event_id integer Yes ID of the event to operate on (see list_events). Must belong to an organization your key can access.
config_version integer Yes The version’s config_version.
slot string No Template slot: thermal (the default when omitted) or inkjet. One of: thermal, inkjet.

Check a Badge Template definition (kiosk-config schema 1 JSON, as text) against the same rules Publish uses, without saving anything. Returns ok, errors (each “path: message”) and, when valid, warnings (e.g. a custom field that some print paths do not deliver). Image ids must already be uploaded on the web page. Read-only.

Access: Read | Scope: Event

Parameter Type Required Description
event_id integer Yes ID of the event to operate on (see list_events). Must belong to an organization your key can access.
definition string Yes The template definition as JSON text (up to 256 KB of text, 64 KB compact).
slot string No Template slot: thermal (the default when omitted) or inkjet. One of: thermal, inkjet.

Save the slot’s shared Badge Template draft (any JSON object up to the publish size limit; it need not be a valid template). Drafts are never sent to kiosk tablets. Pass the draft_revision and expected_config_version from get_badge_template as expected_revision and base_config_version; a stale revision (someone saved since) is refused. Returns the new revision.

Access: Write | Scope: Event

Parameter Type Required Description
event_id integer Yes ID of the event to operate on (see list_events). Must belong to an organization your key can access.
definition string Yes The draft definition as JSON text.
expected_revision integer Yes draft_revision from get_badge_template (0 when the slot never had a draft).
base_config_version integer Yes The slot’s expected_config_version the draft was based on.
slot string No Template slot: thermal (the default when omitted) or inkjet. One of: thermal, inkjet.

Discard the slot’s shared Badge Template draft (the live template is untouched). Needs the draft_revision from get_badge_template; refused when someone saved since. Returns the revision the next draft save must send.

Access: Write | Scope: Event

Parameter Type Required Description
event_id integer Yes ID of the event to operate on (see list_events). Must belong to an organization your key can access.
expected_revision integer Yes draft_revision from get_badge_template.
slot string No Template slot: thermal (the default when omitted) or inkjet. One of: thermal, inkjet.
confirm boolean Yes Must be true. The draft text is discarded and cannot be recovered.

Publish a Badge Template definition to the slot. SIDE EFFECT: it goes live at once and every kiosk tablet of this event prints with it from its next config sync; a history version is recorded and the action is security-audited. Validated exactly as on the web page (run validate_badge_template first); image ids must already be uploaded on the web page. expected_config_version is from get_badge_template (refused when someone published since). Pass draft_revision to clear the draft you published from (kept when someone saved a newer one). Returns the new config_version. Does not print anything.

Access: Write | Scope: Event

Parameter Type Required Description
event_id integer Yes ID of the event to operate on (see list_events). Must belong to an organization your key can access.
definition string Yes The template definition as JSON text.
expected_config_version integer Yes expected_config_version from get_badge_template.
draft_revision integer No Optional: the draft revision this definition came from, to clear that draft in the same write.
slot string No Template slot: thermal (the default when omitted) or inkjet. One of: thermal, inkjet.

Publish an old history version of the slot’s Badge Template again, as a new version (images deleted since are dropped; the result must still validate). SIDE EFFECT: goes live on every kiosk tablet of the event from its next sync, as publish_badge_template. Restoring a “removed” version removes the live template. Returns the new config_version.

Access: Write | Scope: Event

Parameter Type Required Description
event_id integer Yes ID of the event to operate on (see list_events). Must belong to an organization your key can access.
config_version integer Yes The history version to restore (from get_badge_template’s versions).
expected_config_version integer Yes expected_config_version from get_badge_template.
slot string No Template slot: thermal (the default when omitted) or inkjet. One of: thermal, inkjet.

Remove the slot’s live Badge Template. SIDE EFFECT: kiosk tablets of this event stop printing with it from their next sync. The definition stays in the version history and can be restored with restore_badge_template_version. Returns the new config_version.

Access: Write | Scope: Event

Parameter Type Required Description
event_id integer Yes ID of the event to operate on (see list_events). Must belong to an organization your key can access.
expected_config_version integer Yes expected_config_version from get_badge_template.
slot string No Template slot: thermal (the default when omitted) or inkjet. One of: thermal, inkjet.
confirm boolean Yes Must be true. Kiosk tablets stop printing this template.

Upload an image a Badge Template can reference (its asset_id), the same as the Badge Template page’s image upload: PNG, JPEG or WebP, at most 2 MB, 4096 px a side and 16,000,000 pixels, up to 50 images per event. Re-using an asset_id replaces that image (the old file is removed once no published version uses it). Kiosk tablets only pick it up once a template that references it is published. Pass image_base64 + filename, or image_url. Returns the asset.

Access: Write | Scope: Event

Parameter Type Required Description
event_id integer Yes ID of the event to operate on (see list_events). Must belong to an organization your key can access.
asset_id string Yes Asset id the template references: lowercase letters, numbers and hyphens, e.g. “sponsor-logo”.
kind string Yes logo or image. One of: logo, image.
image_base64 string No The image file, base64-encoded (a data: URI prefix is accepted). Pass with filename. Use image_url instead for large files.
filename string No File name for image_base64, e.g. “banner.jpg”.
image_url string No Alternatively, a public https:// URL the server downloads the image from (no redirects to private addresses, 15 s timeout).

Delete an uploaded Badge Template image (see get_badge_template’s assets). Refused while a live template uses it: publish a version without it first. The file itself is kept while any published version still references it.

Access: Write | Scope: Event

Parameter Type Required Description
event_id integer Yes ID of the event to operate on (see list_events). Must belong to an organization your key can access.
asset_id string Yes The image’s asset_id.
confirm boolean Yes Must be true. Deletes the image.

The event’s Laptop Printers (Print on This Computer calibration profiles): name, kind (thermal / inkjet), dpi, offsets, scale, rotation, device name and whether the calibration was confirmed; plus which template slots are published. Only available when Print on This Computer is switched on for the platform. Read-only.

Access: Read | Scope: Event

Parameter Type Required Description
event_id integer Yes ID of the event to operate on (see list_events). Must belong to an organization your key can access.

Add a Laptop Printer profile to the event. It starts Not Confirmed (confirm it on the web page by checking a printed calibration sheet). thermal needs dpi (203 or 300) and may name the device; scale applies to inkjet only. Does not print anything.

Access: Write | Scope: Event

Parameter Type Required Description
event_id integer Yes ID of the event to operate on (see list_events). Must belong to an organization your key can access.
name string Yes Profile name, unique within the event (max 80).
kind string Yes thermal or inkjet. One of: thermal, inkjet.
dpi integer No Thermal only, required for thermal: 203 or 300. One of: 203, 300.
offset_x_mm number No Horizontal offset in mm (-10 to 10, default 0).
offset_y_mm number No Vertical offset in mm (-10 to 10, default 0).
scale_percent number No Inkjet only: scale correction 90 to 110 (default 100).
rotate_180 boolean No Print upside down.
device_name string No Thermal only: the printer’s device name (max 120).

Edit a Laptop Printer profile; omitted fields keep their stored values. As on the web page, saving marks the calibration Confirmed (the new numbers are taken as measured). Does not print anything.

Access: Write | Scope: Event

Parameter Type Required Description
event_id integer Yes ID of the event to operate on (see list_events). Must belong to an organization your key can access.
profile_id integer Yes Profile id from list_laptop_printers.
name string No Profile name, unique within the event (max 80).
kind string No thermal or inkjet. One of: thermal, inkjet.
dpi integer No Thermal only, required for thermal: 203 or 300. One of: 203, 300.
offset_x_mm number No Horizontal offset in mm (-10 to 10, default 0).
offset_y_mm number No Vertical offset in mm (-10 to 10, default 0).
scale_percent number No Inkjet only: scale correction 90 to 110 (default 100).
rotate_180 boolean No Print upside down.
device_name string No Thermal only: the printer’s device name (max 120).

Delete a Laptop Printer profile. Past print history keeps its snapshot of the profile.

Access: Write | Scope: Event

Parameter Type Required Description
event_id integer Yes ID of the event to operate on (see list_events). Must belong to an organization your key can access.
profile_id integer Yes Profile id from list_laptop_printers.
confirm boolean Yes Must be true. Deletes the profile.

The event’s last 100 Print on This Computer jobs (the Prints tab): when, who, kind, profile, template slot and version, badge count, status and error. Attendee names are not included. Starting a print is web-only. Only available when Print on This Computer is switched on. Read-only.

Access: Read | Scope: Event

Parameter Type Required Description
event_id integer Yes ID of the event to operate on (see list_events). Must belong to an organization your key can access.

The event’s check-in Kiosk Settings (defaults merged with stored values), grouped as on the web page: welcome_settings, scanner_settings, success_settings, already_settings, error_settings, attendee_display_settings, custom_field_display, layout_settings, branding_settings, typography_settings, photobrowse_settings. The Photobrowse API key is never returned (api_key_set says whether one is stored). Also lists the custom fields custom_field_display.fields can show. Read-only.

Access: Read | Scope: Event

Parameter Type Required Description
event_id integer Yes ID of the event to operate on (see list_events). Must belong to an organization your key can access.

Update the event’s check-in Kiosk Settings. Pass only the groups and keys to change (see get_kiosk_settings for the shape); omitted groups and keys keep their values; custom_field_display.fields is replaced whole and branding_settings.background_layers is merged layer by layer (opacity, position). Text may use {event_name}. Unknown keys are refused. Images, the custom font file and the Photobrowse API key are web-only: branding_settings.event_image, background_layers[].image, typography_settings.custom_font_url and photobrowse_settings.api_key cannot be set here. Takes effect on the kiosk display the next time it loads its settings.

Access: Write | Scope: Event

Parameter Type Required Description
event_id integer Yes ID of the event to operate on (see list_events). Must belong to an organization your key can access.
welcome_settings object No Keys of this settings group to change.
scanner_settings object No Keys of this settings group to change.
success_settings object No Keys of this settings group to change.
already_settings object No Keys of this settings group to change.
error_settings object No Keys of this settings group to change.
attendee_display_settings object No Keys of this settings group to change.
custom_field_display object No Keys of this settings group to change.
layout_settings object No Keys of this settings group to change.
branding_settings object No Keys of this settings group to change.
typography_settings object No Keys of this settings group to change.
photobrowse_settings object No Keys of this settings group to change.