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

# Validate a license key

> Validates a license key's status, expiration, and activation limits.

**Usage:** Ensures license keys are active and have not reached their usage or expiration limits before they are used.



## OpenAPI

````yaml post /license-keys/validate
openapi: 3.0.0
info:
  title: Blink API
  description: Comprehensive API documentation for Blink.
  version: 1.0.0
servers:
  - url: https://api.blink.store/v1
security: []
paths:
  /license-keys/validate:
    post:
      tags:
        - License Keys
      summary: Validate a license key
      description: >-
        Validates a license key's status, expiration, and activation limits.


        **Usage:** Ensures license keys are active and have not reached their
        usage or expiration limits before they are used.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LicenseKeyValidateRequest'
      responses:
        '200':
          description: License key validated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LicenseKeyValidateResponse'
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
components:
  schemas:
    LicenseKeyValidateRequest:
      type: object
      properties:
        license_key:
          type: string
      required:
        - license_key
    LicenseKeyValidateResponse:
      type: object
      properties:
        valid:
          type: boolean
        meta:
          type: object
          properties:
            key:
              type: string
            activations:
              type: integer
            activation_limit:
              type: integer
            expires_at:
              type: string
              format: date-time
            customer_id:
              type: string

````