Skip to content

Play Tools

Play settings for the event (spec 5.9): game switch, earning roles and window, booth sources, limits, leaderboard, rewards, presenter.

Access: Read | Scope: Event | Module: play (level basic or higher)

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 Play settings (partial object, same keys as get_play_settings; times in the event timezone or ISO with offset). Switching the game on the first time seeds the default points table.

Access: Write | Scope: Event | Module: play (level basic or higher)

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.
settings object Yes Settings to change.

Registered point signals with their module, whether that module is on, default points and filter options.

Access: Read | Scope: Event | Module: play (level basic or higher)

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 points table: rules per signal in order (first matching enabled rule wins).

Access: Read | Scope: Event | Module: play (level basic or higher)

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.

Create a rule, or update one when rule_id is given. points 0 to 1000; cap_per_day and cap_total 1 to 1000; params filter per signal.

Access: Write | Scope: Event | Module: play (level basic or higher)

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.
rule_id integer No Rule to update; omit to create.
signal string No Signal key (see list_play_signals).
label string No Label.
points integer Yes Points.
enabled boolean No Enabled.
params object No Signal filter.
cap_per_day integer No Awards per person per event-local day.
cap_total integer No Awards per person in total.

Delete a points rule.

Access: Write | Scope: Event | Module: play (level basic or higher)

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.
rule_id integer Yes ID of the rule (see the matching list tool).

Challenges with kind, target, bonus, draw entries, sponsor, items and completion counts (under 3 read Fewer than 3).

Access: Read | Scope: Event | Module: play (level basic or higher)

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.

Create or update a challenge by its key (keys are immutable slugs). kind rally needs items [{type: stamp|company|session, id}]; count and single need a signal. Progress is rebuilt after changes.

Access: Write | Scope: Event | Module: play (level basic or higher)

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.
key string Yes Slug, a to z, 0 to 9 and underscore.
title string Yes Title.
description string No Description.
kind string Yes Kind. One of: rally, count, single.
signal string No Signal for count and single.
params object No Signal filter.
target integer No Items or count needed.
bonus_points integer No Bonus 0 to 5000.
draw_entries integer No Prize draw entries 0 to 20.
items array of object No Rally items.
sponsor_company_id integer No Sponsoring exhibitor company.
icon string No Icon name.
starts_at string No Window start.
ends_at string No Window end.
is_active boolean No Active.

Delete a challenge by key. Granted bonuses stay in the ledger.

Access: Write | Scope: Event | Module: play (level basic or higher)

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.
key string Yes Challenge key.
confirm boolean Yes Must be true.

Stamps with kind, company or session, code mode, points, claims (under 3 read Fewer than 3) and whether a display link exists. Codes and secrets are never returned.

Access: Read | Scope: Event | Module: play (level basic or higher)

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.

Create a stamp, or update one when stamp_id is given. kind booth needs exhibitor_company_id (one per company); session needs schedule_session_id.

Access: Write | Scope: Event | Module: play (level basic or higher)

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.
stamp_id integer No Stamp to update; omit to create.
label string Yes Label.
kind string No Kind. One of: booth, location, session.
exhibitor_company_id integer No Company.
schedule_session_id integer No Session.
code_mode string No Code mode. One of: rotating, static, staff.
period_seconds integer No 15 to 120.
points integer No Points override.
is_active boolean No Active.

Delete a stamp. Collected points stay; rally items pointing at it are removed.

Access: Write | Scope: Event | Module: play (level basic or higher)

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.
stamp_id integer Yes ID of the stamp (see the matching list tool).
confirm boolean Yes Must be true.

Create one booth stamp per exhibitor company that has none. Returns the number created.

Access: Write | Scope: Event | Module: play (level basic or higher)

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.

New secret and a new static or staff code; printed posters and staff cards stop working. Returns the new static or staff code (never the secret).

Access: Write | Scope: Event | Module: play (level basic or higher)

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.
stamp_id integer Yes ID of the stamp (see the matching list tool).
confirm boolean Yes Must be true.

Rewards with cost, stock left, limits, where to redeem and counts (under 3 read Fewer than 3).

Access: Read | Scope: Event | Module: play (level basic or higher)

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.

Create a reward, or update one when reward_id is given. kind credit needs EventHAUS Pay and credit rewards on. Set its picture with set_play_reward_image.

Access: Write | Scope: Event | Module: play (level basic or higher)

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.
reward_id integer No Reward to update; omit to create.
kind string No Kind. One of: voucher, credit.
title string Yes Title.
description string No Description.
cost_points integer Yes Cost.
credit_cents integer No Credit for kind credit.
stock integer No Stock.
per_person_limit integer No 1 to 20.
event_booth_id integer No Redeem at this POS booth.
exhibitor_company_id integer No Redeem at this stand.
claim_expires_minutes integer No Unredeemed vouchers return after this.
is_active boolean No Active.

Set (or replace) a reward’s picture, the same as the reward form’s image upload: JPG, PNG or WebP, at most 5 MB and 6000 px on a side, re-encoded as a JPEG at most 800 px wide on the public disk (the old picture is deleted). Writes a play.reward audit row. Pass image_base64 + filename, or image_url. Returns the reward with image_url.

Access: Write | Scope: Event | Module: play (level basic or higher)

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.
reward_id integer Yes ID of the reward (see the matching list tool).
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 a reward nobody claimed (turn it off otherwise).

Access: Write | Scope: Event | Module: play (level basic or higher)

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.
reward_id integer Yes ID of the reward (see the matching list tool).
confirm boolean Yes Must be true.

Players (organiser view): earned, available, rank, flags. Filters search, flagged, excluded.

Access: Read | Scope: Event | Module: play (level basic or higher)

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.
search string No Email or name.
flagged boolean No Open flags only.
excluded boolean No Excluded only.
page integer No Page number. Default: 1.
per_page integer No Results per page (max 100). Default: 25.

One player: ledger, challenges, redemptions and flags.

Access: Read | Scope: Event | Module: play (level basic or higher)

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.
player_id integer Yes ID of the player (see the matching list tool).

Add or remove points with a note the person sees (cannot go below 0 available).

Access: Write | Scope: Event | Module: play (level basic or higher)

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.
player_id integer Yes ID of the player (see the matching list tool).
points integer Yes Points, negative to remove.
note string Yes Note, max 255.
confirm boolean Yes Must be true.

Reverse a ledger entry with a note (a negative row is added; challenge bonuses that drop below target are reversed too).

Access: Write | Scope: Event | Module: play (level basic or higher)

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.
entry_id integer Yes Ledger entry ID (see get_play_player).
note string Yes Note.
confirm boolean Yes Must be true.

Exclude a player from the board, draws and rewards (ledger kept), or include them again.

Access: Write | Scope: Event | Module: play (level basic or higher)

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.
player_id integer Yes ID of the player (see the matching list tool).
excluded boolean Yes Excluded.
reason string No Reason when excluding.

Anti-cheat review items.

Access: Read | Scope: Event | Module: play (level basic or higher)

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.
status string No Status. One of: open, cleared, reversed, excluded. Default: "open".

Resolve an open flag: clear, reverse the flagged entries, or exclude the player.

Access: Write | Scope: Event | Module: play (level basic or higher)

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.
flag_id integer Yes ID of the flag (see the matching list tool).
action string Yes Action. One of: clear, reverse, exclude.
note string No Note or exclusion reason.

Claimed, redeemed, cancelled and expired vouchers and credits (codes are not returned).

Access: Read | Scope: Event | Module: play (level basic or higher)

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.
status string No Status. One of: claimed, redeemed, cancelled, expired.
page integer No Page number. Default: 1.
per_page integer No Results per page (max 100). Default: 25.

Redeem a voucher by its 6-character code (the reward desk without the UI).

Access: Write | Scope: Event | Module: play (level basic or higher)

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.
code string Yes Voucher code.

Play report: players, points by day and signal, challenges, stamps, booth traffic (counts only, under 3 read Fewer than 3), rewards, opt-in rate, open flags.

Access: Read | Scope: Event | Module: play (level basic or higher)

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.

Award points for earlier activity since a time. Defaults to a dry run that only counts; pass dry_run false to queue the awards (safe to repeat).

Access: Write | Scope: Event | Module: play (level basic or higher)

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.
since string Yes From when (event timezone or ISO).
dry_run boolean No Count only. Default: true.

Create a Lucky Draw fed by Play entries with the rule text pre-filled. Commit and draw stay in the web UI.

Access: Write | Scope: Event | Module: play (level basic or higher)

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 Draw name.
mode string Yes Entry mode. One of: points, challenges, qualified.
points_per_entry integer No Points per entry.
min_points integer No Minimum points.
max_entries integer No 1 to 50.
challenge_keys array of string No Challenges.
require_all boolean No All listed challenges.
cutoff string No Cutoff. One of: freeze, snapshot.
winners integer No Winners.