TRYB Loyalty integration
TRYB Loyalty runs digital loyalty cards (stamp, reward, cashback, discount, coupon, gift certificate, membership and multipass subscription cards) that customers add to Apple Wallet, Google Wallet or a web card. An agent can create and look up customers, issue cards from card templates, add or subtract stamps, points, scores, visits, amounts, purchases and rewards, redeem coupons and rewards, set expiry dates and membership tiers, manage promotions and reward tiers, send push notifications and SMS to customers, and read the operation history and revenue statistics. Customer, card and operation answers are personal data (names, phone numbers, emails, dates of birth). Creating or editing card templates, locations, managers and workflows is not in TRYB's published API and is not offered. Authentication: the API key from Settings, API in the TRYB Loyalty dashboard, sent in an X-API-Key header; API access needs a plan that includes it (TRYB names its Business Plan).
Say what should happen.
The workflow builds itself.
What you can do with TRYB Loyalty
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Card, 5 operations
create_cardCreate cardPOSTAgents: ask firstIssues a new loyalty card from a card template to an existing customer and returns it with its install links. Pass templateId and customerId; customFields fills the template's form fields.delete_cardDelete cardDELETEAgents: ask firstPermanently deletes a loyalty card by its id (serial number) and returns the deleted id.get_cardGet cardGETAgents: ask firstReturns one loyalty card by its id (serial number): balance, customer (personal data), membership tier, subscription, available reward tiers, visit and reward totals, install links and expiry.list_cardsList cardsGETAgents: ask firstLists loyalty cards, 30 per page by default (itemsPerPage up to 1000), filtered by template, customer id, customer email or customer phone. Each card carries its customer (personal data) and balance.update_cardUpdate cardPATCHAgents: ask firstChanges the values of a card's custom form fields and returns the updated card. Pass the card id and customFields, a list of {id, value} with at least one entry.
Customer, 5 operations
create_customerCreate customerPOSTAgents: ask firstCreates a customer in the loyalty program (personal data) and returns it with its id. firstName is required, and so is a phone or an email (at least one). Issue a card with create_card.delete_customerDelete customerDELETEAgents: ask firstPermanently deletes a customer of the loyalty program by id and returns the deleted id.get_customerGet customerGETAgents: ask firstReturns one customer by id (personal data): first name, surname, phone, email, gender, date of birth, external user id and the customer segments it belongs to.list_customersList customersGETAgents: ask firstLists the customers of the loyalty program (personal data: name, phone, email, gender, date of birth, segments), 30 per page by default (itemsPerPage up to 1000), filterable by phone or email.update_customerUpdate customerPATCHAgents: ask firstUpdates a customer's first name, surname, email, gender, date of birth or external user id and returns the customer. Pass the customer id twice: as id and as customer_id.
Promotion, 5 operations
create_promotionCreate promotionPOSTAgents: ask firstCreates a promotion card (name, start and end dates, background image) and returns it. Its optional pushes schedule real push notifications to customers at the start and end.delete_promotionDelete promotionDELETEAgents: ask firstPermanently deletes a promotion by id and returns the deleted id.get_promotionGet promotionGETAgents: ask firstReturns one promotion by id: name, description, dates, active state, usage and redemption limits, redemptions and revenue so far, custom fields, attached templates and scheduled pushes.list_promotionsList promotionsGETAgents: ask firstLists promotions with their dates, active state, usage limits, redemptions and revenue so far, 30 per page by default, filterable by template id and active state.update_promotionUpdate promotionPATCHAgents: ask firstUpdates a promotion: only the fields you send change. Returns the promotion. Enabling pushes schedules real push notifications to customers.
Push, 3 operations
get_pushGet pushGETAgents: ask firstReturns one push notification by id: message, template, target card, status, type, sent and delivered counts, and its scheduled and created times.list_pushesList pushesGETAgents: ask firstLists push notifications sent or scheduled to wallet cards, with message, status, sent and delivered counts, 30 per page by default, filterable by template, card and a Y-m-d date range.send_pushSend pushPOSTAgents: ask firstSends a real push notification now (or at scheduledAt) to the customers' wallet cards of a card template, or only to one card when cardId is set. Returns the push with its id and status.
Card amount, 2 operations
add_card_transaction_amountAdd card transaction amountPOSTAgents: ask firstAdds a transaction amount to a loyalty card's balance (a real change on the customer's card) and returns the updated card. Pass the card id and amount; comment and purchaseSum are optional.subtract_card_transaction_amountSubtract card transaction amountPOSTAgents: ask firstSubtracts a transaction amount from a loyalty card's balance (a real change on the customer's card) and returns the updated card. Pass the card id and amount; comment and purchaseSum are optional.
Card points, 2 operations
add_card_pointsAdd card pointsPOSTAgents: ask firstAdds points to a loyalty card's balance (a real change on the customer's card) and returns the updated card. Pass the card id and points; comment and purchaseSum are optional.subtract_card_pointsSubtract card pointsPOSTAgents: ask firstSubtracts points from a loyalty card's balance (a real change on the customer's card) and returns the updated card. Pass the card id and points; comment and purchaseSum are optional.
Card purchase, 2 operations
add_card_purchaseAdd card purchasePOSTAgents: ask firstAdds a purchase to a loyalty card's balance (a real change on the customer's card) and returns the updated card. Pass the card id and amount; comment and purchaseSum are optional.subtract_card_purchaseSubtract card purchasePOSTAgents: ask firstSubtracts a purchase from a loyalty card's balance (a real change on the customer's card) and returns the updated card. Pass the card id and amount; comment and purchaseSum are optional.
Card rewards, 2 operations
add_card_rewardsAdd card rewardsPOSTAgents: ask firstAdds rewards to a loyalty card's balance (a real change on the customer's card) and returns the updated card. Pass the card id and rewards; comment and purchaseSum are optional.subtract_card_rewardsSubtract card rewardsPOSTAgents: ask firstSubtracts rewards from a loyalty card's balance (a real change on the customer's card) and returns the updated card. Pass the card id and rewards; comment and purchaseSum are optional.
Card scores, 2 operations
add_card_scoresAdd card scoresPOSTAgents: ask firstAdds scores to a loyalty card's balance (a real change on the customer's card) and returns the updated card. Pass the card id and scores; comment and purchaseSum are optional.subtract_card_scoresSubtract card scoresPOSTAgents: ask firstSubtracts scores from a loyalty card's balance (a real change on the customer's card) and returns the updated card. Pass the card id and scores; comment and purchaseSum are optional.
Card stamps, 2 operations
add_card_stampsAdd card stampsPOSTAgents: ask firstAdds stamps to a loyalty card's balance (a real change on the customer's card) and returns the updated card. Pass the card id and stamps; comment and purchaseSum are optional.subtract_card_stampsSubtract card stampsPOSTAgents: ask firstSubtracts stamps from a loyalty card's balance (a real change on the customer's card) and returns the updated card. Pass the card id and stamps; comment and purchaseSum are optional.
Card visits, 2 operations
add_card_visitsAdd card visitsPOSTAgents: ask firstAdds visits to a loyalty card's balance (a real change on the customer's card) and returns the updated card. Pass the card id and visits; comment and purchaseSum are optional.subtract_card_visitsSubtract card visitsPOSTAgents: ask firstSubtracts visits from a loyalty card's balance (a real change on the customer's card) and returns the updated card. Pass the card id and visits; comment and purchaseSum are optional.
Reward tier, 2 operations
create_reward_tierCreate reward tierPOSTAgents: ask firstAdds a reward tier to a card template and returns it. Pass name, type (0 custom, 1 amount, 2 percent) and value; threshold, valueLimit and usageLimit are optional.delete_reward_tierDelete reward tierDELETEAgents: ask firstPermanently deletes a reward tier from a card template and returns the deleted tier id.
Template, 2 operations
get_templateGet templateGETAgents: ask firstReturns one card template by id: type, name, custom form fields (ids used by create_card), membership tiers with their period prices, reward tiers, and install and QR links.list_templatesList templatesGETAgents: ask firstLists the card templates (card designs customers get cards from) with their type, custom form fields, membership tiers, reward tiers and install and QR links, 30 per page by default.
Card coupon, 1 operation
redeem_card_couponRedeem card couponPOSTAgents: ask firstRedeems the coupon of a coupon card (a real change: the coupon is used) and returns the updated card, whose couponRedeemed field shows the coupon state. Pass the card id and a comment; purchaseSum is optional.
Card expiration date, 1 operation
set_card_expiration_dateSet card expiration datePOSTAgents: ask firstSets the expiry date and time of a loyalty card and returns the updated card. expiresAt is required; removing an expiry is not exposed.
Card membership tier, 1 operation
set_card_membership_tierSet card membership tierPOSTAgents: ask firstPuts a membership card on a membership tier for a period (day, week, month or year) and returns the updated card. Pass tierId from the template's membershipTiers (get_template).
Card reward, 1 operation
receive_card_rewardReceive card rewardPOSTAgents: ask firstRecords that the card holder receives the reward of one reward tier (a real change on the customer's card) and returns the updated card. Pass the card id and reward_tier_id from the card's availableRewardTiers.
Operation, 1 operation
list_operationsList operationsGETAgents: ask firstLists card operations (balance changes such as stamps, points, visits and purchases), 30 per page by default, filtered by template, customer, card and a Y-m-d date range. Each carries its customer (personal data).
Revenue statistics, 1 operation
get_revenue_statisticsGet revenue statisticsGETAgents: ask firstReturns revenue statistics of the loyalty program: total cost, total revenue, ROI and LTV, plus revenue and ROI per day, filterable by company, card template and a Y-m-d date range.
Sms, 1 operation
send_smsSend smsPOSTAgents: ask firstSends a real SMS now to a customer's phone number and returns the SMS id. Pass customerId and message.
Use TRYB Loyalty from Claude Code, Cursor or Codex
Connect TRYB Loyalty in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its TRYB Loyalty operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect TRYB Loyalty
- Create your workspace
Sign up free. Nothing to install.
- Connect TRYB Loyalty once
Add your TRYB Loyalty connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
TRYB Loyalty integration FAQ
What can you do with the TRYB Loyalty integration?
LiveContext exposes 43 operations on TRYB Loyalty, covering card, customer, promotion and push.
