mocop
Browse · Docs · Guide · Analyze

Leal API

API by Leal · rest

Leal is a wallet based loyalty platform for local businesses. This API manages stores (accounts), loyalty stamp cards, rewards, customers, customer cards, locations and signup posters. Authenticate with an API token issued at https://app.getleal.com/api_tokens, sent as Authorization: Bearer <token>. Request and response bodies are JSON, and so are errors: every failure carries an error message, and validation failures add an errors object keyed by field name. Every response carries RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset and RateLimit-Policy. The limit is 300 requests per minute per API token, counted per IP address for unauthenticated requests. Exceeding it returns 429 with Retry-After in seconds. GET /api/v1/status is public and needs no token, so you can read the headers before you authenticate. The version is in the URL and v1 is current. A version that is being retired sends the Deprecation (RFC 9745) and Sunset (RFC 8594) headers on…

Endpoint: https://app.getleal.com/

Verification: observed. Source: crawl.

Capabilities (38)

  • List all stores
  • List loyalty cards
  • Create a loyalty card
  • Show a loyalty card
  • Update a loyalty card
  • List or look up customers
  • Create a customer
  • List customer cards
  • Show a customer card
  • Redeem a reward
  • Add stamps
  • Show a customer
  • Update a customer
  • List all locations
  • Create a location
  • Show a location
  • Update a location
  • Delete a location
  • List posters
  • Create a poster
  • Show a poster
  • Update a poster
  • Delete a poster
  • List rewards
  • Create a reward
About · Contact · Privacy