- Full Access Key: the highest access level each scope supports (read and write where available).
- Read-Only Key: read access for every scope. It can’t credit or debit points.
- Custom Key: No Access, Read Access or Read/Write Access per scope.
Scope format
Scopes are stored on the key asread:<scope> or write:<scope>, for example read:rewards or write:transactions.
read:<scope>allows the scope’s read endpoints.write:<scope>allows the scope’s write endpoints and its read endpoints. Write implies read.
Available scopes
The
points, referrals and tiers scopes also change what customer endpoints return. Without points, customer responses have no points object. Give your key these scopes if you need a customer’s balance, referral link or tier.Endpoints by scope
All paths are relative to
https://api.yukoapp.com/api/v1/public.
Missing scope errors
If the key doesn’t have the scope an endpoint needs, the API returns403 Forbidden:
403