Skip to main content
Lobyco publishes a challenge event when a challenge definition changes. These events describe the challenge itself, not a customer, so they carry no CustomerId.
Payload fields keep the Activity prefix, as in ActivityId, ActivityName and ActivityDrawType. The rename to Challenge applies to the event names only, not to the payload contract.

Field reference

Field definitions match the challenge models of the Challenges endpoints. A Data streams request body carries these properties under camelCase names, such as activityId for ActivityId, unless the subscription transforms the payload. A challenge can set several tiers, each with its own progress rules and rewards. ProgressRules[].Tier is the tier whose target the rule sets. Rewards[].Tier is the tier a card must reach for the customer to get the reward. Tiers are numbered from 0, and a challenge without tiers has tier 0 only. A card reaches a tier when it meets every rule of that tier. Only a challenge with an Instant draw can have more than one tier. RewardHighestTierOnly is true when the challenge is set to Issue only the highest tier in Lobyco Nexus. The customer then gets the rewards of one tier only, the highest the card reaches. EventId joins the event’s name, the ActivityId and a time from the payload, written as yyyy-MM-ddTHH:mm:ss.fffffff. Each schema’s EventId description shows which time.

Schemas

A payload can carry properties that its schema does not list. Rely only on the listed ones: see Events.

API reference

Endpoint documentation: Challenges.
Last modified on November 23, 2026