> ## Documentation Index
> Fetch the complete documentation index at: https://alguna.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# List active entitlements for a customer

> Returns the flattened list of active entitlements across all of the customer's active subscriptions. Each entry is a single entitlement on the current published version of one active subscription. Use the `subscription_id` field on each entry to see which subscription the entitlement comes from. The `id` path parameter accepts the Alguna account ID, a customer alias, or a connected-account external ID (such as a Stripe customer ID).



## OpenAPI

````yaml /api-reference/v2/specs/2026-04-01.json get /customers/{id}/entitlements
openapi: 3.1.0
info:
  title: Alguna Public API
  version: '2026-04-01'
servers:
  - url: https://api.alguna.io
security:
  - bearerAuth: []
tags:
  - name: Billing Events and Metrics
  - name: Credit Notes
  - name: Credits
  - name: Customer Portal Sessions
  - name: Customers
  - name: Insights
  - name: Invoices
  - name: Payments
  - name: Plans
  - name: Product Bundles
  - name: Products
  - name: Refunds
  - name: Revenue Schedules
  - name: Subscription Changes
  - name: Subscription Versions
  - name: Subscriptions
  - name: Wallet Grants
  - name: Wallets
paths:
  /customers/{id}/entitlements:
    get:
      tags:
        - Customers
      summary: List active entitlements for a customer
      description: >-
        Returns the flattened list of active entitlements across all of the
        customer's active subscriptions. Each entry is a single entitlement on
        the current published version of one active subscription. Use the
        `subscription_id` field on each entry to see which subscription the
        entitlement comes from. The `id` path parameter accepts the Alguna
        account ID, a customer alias, or a connected-account external ID (such
        as a Stripe customer ID).
      operationId: list-customer-entitlements
      parameters:
        - in: header
          name: Alguna-Version
          required: true
          schema:
            enum:
              - '2026-04-01'
            type: string
        - in: path
          name: id
          required: true
          schema:
            description: Unique identifier for the customer
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntitlementListResponse'
          description: Success
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unprocessable Entity
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
components:
  schemas:
    EntitlementListResponse:
      properties:
        data:
          description: List of entitlements
          items:
            $ref: '#/components/schemas/EntitlementResponse'
          type: array
      required:
        - data
      type: object
    ErrorResponse:
      properties:
        detail:
          type: string
        status:
          format: int64
          type: integer
      required:
        - status
        - detail
      type: object
    EntitlementResponse:
      properties:
        allocation:
          allOf:
            - $ref: '#/components/schemas/EntitlementAllocationResponse'
          description: Credit allocation config
          nullable: true
        key:
          description: Entitlement key
          example: api_access
          nullable: true
          type: string
        mode:
          description: Entitlement mode
          example: static
          type: string
        subscription_id:
          description: Owning subscription ID; null for default-profile entitlements
          example: sub_abc123
          nullable: true
          type: string
        timing:
          allOf:
            - $ref: '#/components/schemas/EntitlementTimingResponse'
          description: Timing config
          nullable: true
        type:
          description: Entitlement type
          example: boolean
          type: string
        value:
          description: Entitlement value
          example: 'true'
          type: string
        version_id:
          description: >-
            Owning subscription version ID; null for default-profile
            entitlements
          example: subv_abc123
          nullable: true
          type: string
      required:
        - mode
        - type
      type: object
    EntitlementAllocationResponse:
      properties:
        amount:
          description: Allocation amount
          example: '100000'
          type: string
        credit_type:
          description: Credit type
          example: monetary
          type: string
        rollover_enabled:
          description: Whether rollover is enabled
          example: true
          type: boolean
        rollover_max_periods:
          description: Maximum rollover periods
          example: 3
          format: int64
          nullable: true
          type: integer
      required:
        - amount
        - credit_type
        - rollover_enabled
      type: object
    EntitlementTimingResponse:
      properties:
        interval:
          description: Timing interval
          example: monthly
          nullable: true
          type: string
        recurrence:
          description: Recurrence type
          example: recurring
          type: string
      required:
        - recurrence
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: API Key
      description: API key authentication. Pass your API key as a Bearer token.
      scheme: bearer
      type: http

````