Lemon Squeezy icon

Lemon Squeezy

Interact with Lemon Squeezy API

License Key → Get Many

AI-generated

Summary

Lists Lemon Squeezy license keys, with optional filters, sorting, and related-resource inclusion. Choose whether to return all matching results or cap the response at a limit.

Inputs

  • Return All — Defaults to false. When false, returns up to Limit results; when true, follows pagination until results are exhausted or the optional pagination timeout is reached.
  • Limit — Maximum results to return when Return All is false; defaults to 50.
  • Filters — Optionally filter by Store ID, Order ID, Product ID, status (inactive, active, expired, or disabled), disabled status, or Order Item ID.
  • Advanced Options — Optionally sort by created_at or updated_at in ascending or descending order, set the pagination timeout in seconds when Return All is enabled (default 300; 0 disables the timeout), and include related stores, customers, orders, order items, products, or license key instances.
  • Simplify — Defaults to true. Flattens JSON:API attributes and included relationships for easier use; turn off to retain the raw JSON:API format.
  • Retry Options — Configure retry behavior for failed API requests. Defaults to 3 retries and a 1000 ms initial delay, which doubles on each retry.

Output shape

A list of license key records.

Records are simplified by default; disabling Simplify returns JSON:API records. With Return All enabled, pagination is followed until complete, limited by the pagination timeout unless it is set to 0. The source pack provided does not expose the operation handler body, so exact output envelope details are not shown.

Links

Discussion