# Get available slots

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v2/dns-shield/available-slots:
    get:
      summary: Get available slots
      deprecated: false
      description: >-
        Check how many available DNS Shield slots you have across all your LTD
        (Lifetime Deal) subscriptions. This endpoint calculates the total
        available capacity by subtracting used slots from your total slots
        across all active LTD plans.
      tags:
        - dns shield
      parameters:
        - name: x-auth-zapmail
          in: header
          description: ''
          required: true
          example: ''
          schema:
            type: string
        - name: x-workspace-key
          in: header
          description: ''
          required: false
          example: ''
          schema:
            type: string
        - name: x-service-provider
          in: header
          description: ''
          required: false
          example: ''
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                  message:
                    type: string
                  data:
                    type: object
                    properties:
                      totalAvailableSlots:
                        type: integer
                      subscriptions:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            planType:
                              type: string
                            totalSlots:
                              type: integer
                            totalUsedSlots:
                              type: integer
                            availableSlots:
                              type: integer
                          required:
                            - id
                            - planType
                            - totalSlots
                            - totalUsedSlots
                            - availableSlots
                          x-apidog-orders:
                            - id
                            - planType
                            - totalSlots
                            - totalUsedSlots
                            - availableSlots
                    required:
                      - totalAvailableSlots
                      - subscriptions
                    x-apidog-orders:
                      - totalAvailableSlots
                      - subscriptions
                required:
                  - status
                  - message
                  - data
                x-apidog-orders:
                  - status
                  - message
                  - data
              example:
                status: 200
                message: Available DNS Shield LTD slots retrieved successfully
                data:
                  totalAvailableSlots: 420
                  subscriptions:
                    - id: sub-uuid-1
                      planType: PRO
                      totalSlots: 500
                      totalUsedSlots: 350
                      availableSlots: 150
                    - id: sub-uuid-2
                      planType: GROWTH
                      totalSlots: 100
                      totalUsedSlots: 30
                      availableSlots: 70
                    - id: sub-uuid-3
                      planType: STARTER
                      totalSlots: 30
                      totalUsedSlots: 30
                      availableSlots: 0
          headers: {}
          x-apidog-name: Success
        '401':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                  message:
                    type: string
                  data:
                    type: object
                    properties:
                      errorId:
                        type: string
                    required:
                      - errorId
                    x-apidog-orders:
                      - errorId
                required:
                  - status
                  - message
                  - data
                x-apidog-orders:
                  - status
                  - message
                  - data
              example:
                status: 401
                message: Invalid API key
                data:
                  errorId: unique-error-id
          headers: {}
          x-apidog-name: Unauthorized
        '500':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                  message:
                    type: string
                  data:
                    type: object
                    properties:
                      errorId:
                        type: string
                    required:
                      - errorId
                    x-apidog-orders:
                      - errorId
                required:
                  - status
                  - message
                  - data
                x-apidog-orders:
                  - status
                  - message
                  - data
              example:
                status: 500
                message: Internal server error
                data:
                  errorId: unique-error-id
          headers: {}
          x-apidog-name: Internal Server Error
      security: []
      x-apidog-folder: dns shield
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/797058/apis/api-25781438-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api.zapmail.ai/api
    description: Prod Env
security: []

```
