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

# Find entitlement by code

> Retrieves a specific entitlement by its code



## OpenAPI

````yaml specs/entitlements_api_docs.json get /api/v1/entitlements/by-code/{code}
openapi: 3.1.0
info:
  title: Entitlement API
  version: 1.0.0
  description: API for managing entitlements and plan entitlement quotas.
servers:
  - url: https://dev-entitlements-api.iqraa.ai/api/v1
    description: Production server
security: []
tags: []
paths:
  /api/v1/entitlements/by-code/{code}:
    get:
      tags:
        - Entitlements
      summary: Find entitlement by code
      description: Retrieves a specific entitlement by its code
      operationId: EntitlementController_findByCode
      parameters:
        - name: x-admin-api-key
          in: header
          description: The API key to access the admin API
          required: true
          schema:
            type: string
        - name: code
          required: true
          in: path
          description: Entitlement code
          schema:
            type: string
      responses:
        '200':
          description: Successfully retrieved the entitlement
        '401':
          description: Unauthorized - Missing or invalid admin API key
        '404':
          description: Not Found - Entitlement not found

````