Lemon Squeezy icon

Lemon Squeezy

Interact with Lemon Squeezy API

License Key → Get

AI-generated

Summary

Retrieve detailed information about a specific License Key by its ID from the Lemon Squeezy API.

Inputs

  • License Key ID (required) — The unique identifier of the license key to retrieve.
  • Simplify — Toggle to simplify the JSON:API response into a flat object by moving attributes to the top level. Disable to receive the raw JSON:API formatted response with type, attributes, and relationships.
  • Retry Options — Configure retry behavior for failed API requests, including maximum retry attempts and initial retry delay.

Output shape

a single License Key resource object retrieved from Lemon Squeezy.

The output can be returned as either the raw JSON:API format (including type, attributes, and relationships) or a simplified flattened version depending on the 'Simplify' input toggle. The operation performs a GET request on the license key resource by ID. Retry options apply only to failed API calls before ultimately throwing an error.

Examples

Example 1: Get a specific License Key by ID

Provide the License Key ID to retrieve detailed information. Optionally toggle to simplify the output JSON structure and configure retry options for robustness on failed API calls.

Links

Discussion