Zapmail
OverviewAPI Reference
OverviewAPI Reference
  1. ZapShield
  • Domains
    • DNS
      • Get DNS Records
      • Add DNS Records
      • Check DNS Records
      • Add DNS Records to Multiple Domains
      • Update DNS Record
      • Delete DNS Record
    • Register
      • Search Available Domains
      • Buy Domains
      • Check Availability of Multiple Domains
      • Find Domains With AI
    • Connect
      • List Domain Connection Requests
      • Connect Domains
      • Get Nameservers to Connect a Domain
      • Verify Nameservers to Connect a Domain
      • Add Google Client ID to Domains
      • Remove Domain Connection Requests
    • Tag
      • List Domain Tags
      • Assign Tags to Domains
      • Create Domain Tags
      • Remove Tags from Domains
      • Delete Domain Tag
      • Update Domain Settings
    • Renewals
      • Search Domains Due for Renewal
      • Get Domain Renewal Prices
      • Renew Domains
      • Update Domain Auto-Renew
      • List Domains Due for Renewal
    • List Assignable Domains
      GET
    • Get Domain Health Score
      GET
    • Search Mailboxes and Domains
      GET
    • List Domains
      POST
    • Move Domains to Another Workspace
      POST
    • Remove Connected Domains
      DELETE
  • Mailbox
    • Get Authenticator Code
      GET
    • Get Mailbox
      GET
    • List Mailboxes
      POST
    • Provision Mailboxes
      POST
    • Update Mailboxes
      PUT
    • Schedule Mailbox Removal
      PUT
    • Retry Failed Mailboxes
      PUT
  • Export
    • List Third-Party Workspaces
    • Add Sequencer Details
    • Get Export Status
    • Update Sequencer Account Details
    • Add Google Client ID To Domain
    • Connect Third-Party Account
    • Connect Mailboxes With Custom OAuth
    • Fetch Workspaces by App
    • Export Mailboxes
    • Update Third-Party Account
    • Get Export Status
    • Export Mailboxes
  • Quick Setup
    • List Quick Setup Entries
    • Start Quick Setup
  • Pre-Warmed
    • List Pre-Warmed Domains
    • Count Pre-Warmed Domains
    • List Pre-Warmed Subscriptions
    • Assign Pre-Warmed Domains
    • Purchase Pre-Warmed Plan
  • Zapbox
    • List Zapbox Connected Accounts
    • List Zapbox Threads
    • Get Zapbox Thread Messages
    • Search Zapbox Emails
    • Send Zapbox Email
    • Apply Zapbox Email Action
    • Download Zapbox Attachment
    • Create Zapbox Label
    • Delete Zapbox Label
    • Rename Zapbox Label
  • User
    • Get Current User
  • Billing Details
    • Add Billing Details
    • Update Billing Details
  • Payments & Wallet
    • Get Wallet Balance
    • Add Wallet Balance
    • Enable or Disable Auto Recharge
    • Buy Add-On Mailboxes
    • Get Subscription Invoice URL
  • Subscriptions and Workspaces
    • List Workspace Members
    • List Workspace Invitations
    • List Workspaces
    • List Subscriptions
    • Create Workspace
    • Send Workspace Invitation
    • Cancel Subscription
    • List Subscription Mailboxes
    • Update Member Role
    • Update Workspace
    • Revoke Workspace Access
  • High Reputation Domains
    • List Aged Domains
    • Purchase Aged Domains
  • Deliverability
    • ZapShield
      • List ZapShield Subscriptions
        GET
      • List ZapShield Eligible Domains
        GET
      • List ZapShield Allocated Domains
        GET
      • Get ZapShield Available Slots
        GET
      • Cancel ZapShield Subscription
        POST
      • Purchase ZapShield
        POST
      • Upgrade ZapShield Plan
        POST
      • Allocate Domains to ZapShield
        POST
    • Deliverability Test
      • Get Deliverability Test Overall Report
      • List Deliverability Test Orders
      • Get Deliverability Test Report
      • List Deliverability Test Subscriptions
      • Get Deliverability Test Available Slots
      • List Deliverability Test Eligible Mailboxes
      • Purchase Deliverability Test
      • Generate Deliverability Test Spintax
      • Purchase Deliverability Test Plan
      • Cancel Deliverability Test Subscription
    • AI Insight
      • Get AI Insight Credits
      • Get AI Insight Analysis
      • Get Shared AI Insight Analysis
      • List AI Insight Eligible Mailboxes
      • Generate AI Insight Analysis
      • Calculate AI Insight Pricing
      • Purchase AI Insight Plan
      • Purchase AI Insight For Mailboxes
      • Email AI Insight Analysis
      • Share AI Insight Analysis
      • List AI Insight Analyses
      • Upgrade AI Insight Plan
    • Zap Care
      • List Zap Care Allocated Domains
      • Get Zap Care Available Slots
      • List Zap Care Subscriptions
      • List Zap Care Eligible Domains
      • Cancel Zap Care Subscription
      • Allocate Domains to Zap Care
      • Purchase Zap Care
  • Webhooks
    • List Webhook Event Types
    • List Webhook Endpoints
    • List Webhook Deliveries
    • Get Webhook Endpoint
    • Create Webhook Endpoint
    • Resend Webhook Delivery
    • Send Test Webhook Event
    • Update Webhook Endpoint
    • Delete Webhook Endpoint
  • Zap Sites
    • Get Zap Site
    • Create Zap Site
    • Regenerate Zap Site
    • Deploy Zap Site
    • Scan Zap Site Destination
    • Update Zap Site
  • Zapwarm
    • List mailboxes eligible for warmup
    • Get the Zapwarm quote for selected mailboxes
    • Start Zapwarm on selected mailboxes
    • Turn off Zapwarm on selected mailboxes
    • Edit Zapwarm settings
    • Get zapwarm score
  • ZapPulse
    • Get ZapPulse Overview
    • Get ZapPulse Insights
    • List ZapPulse Mailboxes
    • Get ZapPulse Mailbox Report
    • Create ZapPulse Report Share Link
  1. ZapShield

Purchase ZapShield

POST
https://api.zapmail.ai/api/v3/dns-shield/purchase
Buys ZapShield capacity for the workspace owner's account. planType selects the product: MONTHLY or ANNUAL pay-as-you-go slots per domain, LTD lifetime plan (starter, growth, pro), or EXISTING to protect domains you already own.
Fulfilment is asynchronous: domains are protected after the Stripe invoice is paid, so poll List ZapShield Subscriptions and List ZapShield Allocated Domains.
MONTHLY/ANNUAL: USD 3.00 / 18.00 per domain per month / year, or 2.50 / 15.00 once the account has 201 or more ZapShield domains. If an active subscription of the same cycle exists, only the prorated amount is charged.
LTD: starter USD 299 (30 domains), growth USD 999 (100), pro USD 2,999 (500). Requires a base plan.
EXISTING: free ZapShield slots (lifetime and unused subscription slots) are used first and only the rest is charged at the monthly rate. Requires a base plan. Domains come from domainIds, or from the filters when domainIds is empty.
The response shape differs by planType, see the examples.
Charges your wallet. The key owner is charged. MONTHLY/ANNUAL use the wallet balance and, if it is short and auto-recharge is on, charge the saved card for the shortfall; otherwise the request fails with 400. LTD/EXISTING create a Stripe invoice settled from wallet credit; any uncovered amount stays due on the hosted invoice at checkoutUrl.
Related: Upgrade ZapShield Plan, Allocate Domains to ZapShield, Cancel ZapShield Subscription.

Request

Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Purchase accepted. The body shape depends on planType.
Bodyapplication/json

🟠400BadRequest
🟠401Unauthorized
🟠403Forbidden
🟠422UnprocessableEntity
🟠429TooManyRequests
🔴500ServerError
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location 'https://api.zapmail.ai/api/v3/dns-shield/purchase' \
--header 'x-auth-zapmail;' \
--header 'Content-Type: application/json' \
--data '{
    "planType": "MONTHLY",
    "quantity": 2,
    "domainNames": [
        "acme-outreach.com",
        "acme-mail.com"
    ]
}'
Response Response Example
200 - Monthly, new subscription
{
    "message": "Dns shield purchase is processed successfully and invoice is created.",
    "paymentLink": "https://invoice.stripe.com/i/acct_1Nx/test_YWNjdF8"
}
Previous
Cancel ZapShield Subscription
Next
Upgrade ZapShield Plan
Built with