> ## 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.

# Activate a license key

> Activates a license key by incrementing its activation count, performing validation checks for key status, expiration, and activation limits. Requires `x-store-id` and `license_key` in the request body.



## OpenAPI

````yaml post /license-keys/activate
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/activate:
    post:
      tags:
        - License Keys
      summary: Activate a license key
      description: >-
        Activates a license key by incrementing its activation count, performing
        validation checks for key status, expiration, and activation limits.
        Requires `x-store-id` and `license_key` in the request body.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LicenseKeyActivateRequest'
      responses:
        '200':
          description: License key activated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LicenseKeyActivateResponse'
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
components:
  schemas:
    LicenseKeyActivateRequest:
      type: object
      properties:
        license_key:
          type: string
      required:
        - license_key
    LicenseKeyActivateResponse:
      type: object
      properties:
        activated:
          type: boolean
        meta:
          type: object
          properties:
            key:
              type: string
            activations:
              type: integer
            activation_limit:
              type: integer

````