Retrieve a CleanCloud customer's referral code and apply promo codes or loyalty point conversions through the API.

domain: cleancloudapp.com · 4 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. POST to https://cleancloudapp.com/api/getReferral with api_token and customerID to fetch that customer's unique referral code and the gift both parties receive.
  2. Use CleanCloud's promo-code endpoint to redeem an invite or promo code on a customer's account (the same promoCode field is also accepted at signup via addCustomer).
  3. Use CleanCloud's loyalty-points-conversion endpoint to exchange accumulated loyalty points for account credit or rewards.
  4. Surface the referral code and current loyalty balance in a customer-facing app using these read endpoints.

Known gotchas

Related routes

send and retrieve in-app messages between a cleancloud customer and store via the api.
cleancloudapp.com · 4 steps · unrated
Segment CleanCloud customers into groups via the API for targeted marketing or pricing.
cleancloudapp.com · 4 steps · unrated
Expose CleanCloud commercial or business account data to a client billing portal via the API.
cleancloudapp.com · 4 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans