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.
Request
Header Params
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://api.zapmail.ai/api/v2/dns-shield/available-slots' \
--header'x-auth-zapmail;' \
--header'x-workspace-key;' \
--header'x-service-provider;'
Responses
🟢200Success
application/json
Body
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}]}}