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

# Retrieve a subscription

> Retrieve a subscription for the authenticated workspace by its ID



## OpenAPI

````yaml GET /subscriptions
openapi: 3.1.0
info:
  title: Reqlick API
  description: >-
    REST API for Reqlick — link shortening, QR codes, file-to-link, custom
    domains and analytics.


    Authenticate with a workspace API key (`Authorization: Bearer rqk_...`),
    created under Settings → API Keys.


    A key is scoped to the single workspace it was created in. Using it against
    a different workspace returns 403, even when the owning user is a member of
    both.


    API access requires a paid plan.
  version: 3.0.0
  contact:
    name: Reqlick Support
    email: support@reqlick.com
servers:
  - url: https://api.reqlick.com
security:
  - bearerAuth: []
tags:
  - name: Links
  - name: QR Codes
  - name: Documents
  - name: Domains
  - name: Workspaces
  - name: Users
  - name: Subscriptions
paths:
  /subscriptions:
    get:
      tags:
        - Subscriptions
      summary: Retrieve subscription
      description: Plan, billing state and effective limits for the authenticated user.
      operationId: getSubscription
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Subscription'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '500':
          $ref: '#/components/responses/ServerError'
components:
  schemas:
    Subscription:
      type: object
      properties:
        id:
          type: string
        plan:
          type: string
          enum:
            - FREE
            - STARTER
            - PRO
            - LEGACY_PRO
            - BUSINESS
            - ENTERPRISE
            - LAUNCH_PASS
        amount:
          type: number
          description: In dollars.
        interval:
          type: string
          enum:
            - month
            - year
        isPaid:
          type: boolean
        isPaymentFailed:
          type: boolean
        isCanceledAtPeriodEnd:
          type: boolean
        periodEnd:
          type: string
          format: date-time
        trialEndsAt:
          type: string
          format: date-time
          description: Null means no trial clock — the account does not expire.
        isTrial:
          type: boolean
        isTrialActive:
          type: boolean
        isTrialExpired:
          type: boolean
        trialDaysRemaining:
          type: integer
        shortLinksLimit:
          type: integer
        qrCodeLinksLimit:
          type: integer
        clicksLimit:
          type: integer
        domainsLimit:
          type: integer
        usersLimit:
          type: integer
        projectsLimit:
          type: integer
        stockableLimit:
          type: integer
        filesLimit:
          type: integer
        retentionLimit:
          type: string
    Error:
      type: object
      properties:
        error:
          type: string
      required:
        - error
  responses:
    Unauthorized:
      description: >-
        Missing, malformed or revoked API key — or the plan no longer includes
        API access
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ServerError:
      description: Server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Workspace API key, prefixed `rqk_`.

````