Skip to main content
Create programmes in the Dashboard (optionally with automatic_grant: { enabled: true }) or via the API. For Custom, One time, and Referral, operators can grant with a workflow, including an API request trigger. For custom occasions in a CRM, access-control system, or PMS where you already call Yorlet from a server, POST program events instead. Residents redeem in OneMove. See Loyalty for the product overview.

Prerequisites

Before you grant rewards, ensure you have:
  • Loyalty enabled on the account.
  • A secret key, or a restricted key for a third party (recommended).
Your secret key can perform any action on your account, so only ever use it from your own server. Never put it in a browser, a mobile app, or a vendor’s client. If a secret key is ever exposed, roll it immediately.

Permissions

A vendor that only awards points typically needs loyalty.programs.read and loyalty.program_events.write.

1. Look up or create a programme

Create a programme with the Loyalty Programs API, or look one up from the Dashboard. Include automatic_grant for built-in types. Set { "enabled": true } — and after_months when type is tenure_milestone. Prefer type: "custom" when the trigger lives outside Yorlet. earn_rate is allowed when type is rent_on_time or custom. If you are issuing OneMove points from your own product (not a Yorlet tenancy), follow Issue OneMove points instead — grant to an email, and skip residents.
Create a custom programme
Response
To turn on a built-in grant, send automatic_grant instead of posting program events for that occasion:
Enable automatic grants
For tenure_milestone, include after_months:

2. Provision access

Create a resident with the Residents API when you need to enrol someone who is not already synced from an active tenancy.
Create a resident
Manual residents stay pending until the OneMove user confirms they live at the building.

3. Grant rewards

Create a program event with the Loyalty Program Events API. The recipient is customer, email, or resident.
Grant points
Optional fields:
  • loyalty_program_override.points — override the programme’s default points.
  • earn_rate.spend_amount — required for earn-rate programmes, in pence.
  • identifier — your order id or similar. The same identifier on the same programme returns the original event.
  • Idempotency-Key — send the same key to avoid duplicate grants.
Event status is succeeded when Yorlet matched a OneMove user, pending when there is no OneMove user yet, or expired. If the programme has Grant automatically for a Yorlet occasion, do not also POST a program event for that occasion.

4. Cancel a grant

Cancel a succeeded grant with the Loyalty Program Event Adjustments API.
Cancel a grant

Notes for integrators

  • Call from your backend after the external event succeeds, not from the vendor’s frontend.
  • Points are not spendable for 5 business days. You are billed when they are redeemed, not when they are granted.
  • Do not combine automatic programmes with a workflow that grants on the same event.
  • Operators who do not want to call this API can grant with a workflow instead.