Skip to main content
Retrieves a cursor-paginated list of all licenses in your store. Licenses are automatically generated when customers purchase license-based products. This endpoint supports filtering by status and product, and searching by licence key.
Required scope: licenses.read. A key without it receives a 403 error. See Authentication.

Query Parameters

integer
default:"10"
Number of licences to return per page (max 100)
string
Cursor for pagination. Use the next_cursor from the previous response.
string
Filter by licence status. Valid values: pending_activation, active, expired, revoked
string
Filter by product public ID (e.g., prd_def456)
Search by licence key
There is no customer filter: use Get Customer to find a customer, then filter the licences on customer.id on your side.

Response

The list is returned at the top level of the body, without the message and errors fields used by error responses.
array
Array of licence objects, newest first
object
Cursor pagination metadata