Zapmail
latest
  • latest
  • v1
latest
  • latest
  • v1
Sign In
latest
  • latest
  • v1
Root
Root
  1. domains
  • Zapmail Docs
  • users
    • Retrieve User Details
  • quick setup
    • Quick Setup
  • workspaces
    • Retrieve all workspaces
    • Create new workspace
    • Update workspace
    • List all workspace members
    • Update user role
    • Revoke User Access
    • Send invitiation to join workspace
    • List all invitations
    • Revoke invitation
    • Update Domain Renewal Settings
  • billing
    • Add Billing Details
    • Update Billing Details
  • mailbox
    • Retrieve All Mailboxes
    • Get Mailbox Details by ID
    • Assign New Mailboxes to Domains
    • Update mailbox
    • Remove mailboxes on next renewal
    • Get Authenticator code
    • Custom OAuth
    • schedule mailbox creation
    • retry creation of failed mailboxes
  • payments & wallet
    • Add balance to wallet
    • Get wallet balance
    • Enable auto recharge
    • Purchase add on mailboxes
    • get invoices for subscription
  • export
    • Export mailboxes
    • Add third party account details
    • Update third party account details
    • Get Export Status
    • Fetch Workspaces by App
  • subscriptions
    • Get all subscriptions
    • Cancel subscription
    • Upgrade existing subscription
    • Purchase subscription
    • Get Mailboxes in a Subscription
  • domains
    • Retrieve All Domains
      GET
    • List Assignable Domains
      GET
    • Add DMARC record
      POST
    • Add Domain forwarding
      POST
    • Get Name servers to connect domain
      POST
    • Verify Name Server Propagation
      POST
    • Connect Domain with Zapmail
      POST
    • Enable email forwarding
      POST
    • Remove email forwarding
      DELETE
    • Enable catch all emails
      POST
    • Remove catch all emails
      DELETE
    • Check DNS records
      POST
    • Remove unused domains
      DELETE
    • Get available domains for registration
      POST
    • Get domains purchase payment link
      POST
    • Get domain connection requests
      GET
    • Remove domain connection requests
      DELETE
    • Connect Domain with Zapmail (New)
      POST
    • Add Google Client ID to Domain
      POST
    • Get availability of multiple domain names.
      POST
    • Retrieve Domain Health Score
      GET
    • Retrieve All Domains (With filters)
      POST
    • AI Domain Finder
      POST
    • Move Domains Across workspace
      POST
    • Assign Domain Tag
      POST
    • list domain tags
      GET
    • Create Domain Tags
      POST
    • Remove Domain Forwarding
      POST
    • List Domains Eligible for Renewal
      POST
    • Get Renewal Price
      POST
    • Renew Domains
      POST
    • Delete Tag
      POST
    • Remove Tags From Domains
      POST
    • Update Auto Renew Preference
      POST
  • dns
    • Get dns records
    • Add dns records
    • Update dns records
    • Delete dns records
  • High Reputation Domains
    • Get available domains
    • Purchase high reputation domains
  • prewarmed domains
    • Get prewarmed domains
    • purchase prewarmed subscription
    • Assign prewarmed mailboxes
    • Get Available Domains Count
    • Get Prewarm Subscriptions
  • placement test
    • Get subscriptions
    • Get Overall Report
    • Get placement test orders
    • Get report by cart order id
    • Get Eligible Mailboxes for Placement Tests
    • Get Available Placement Test Credits
    • Purchase Placement Test
    • Purchase plan
    • Cancel Subscription
  • dns shield
    • Get eligible domains
    • Get available slots
    • Get subscriptions
    • Get Allocated Domains for Subscription
    • Allocate Domains to DNS Shield
    • Purchase DNS Shield
    • Upgrade DNS Shield LTD Plan
    • Cancel subscription
  • global
    • Global mailbox-domain search
  • zapbox
    • List Connected Accounts
    • Fetch emails
    • get emails from a thread
    • Search emails
    • Send Email
    • Download Attachment
    • Create New Label
    • Delete Label
    • Rename Label
  • Schemas
    • domain with filter
  1. domains

Renew Domains

POST
/v2/domains/renew
Use this endpoint to initiate renewal for domains expiring within the next 2 months. Available wallet balance is automatically applied to reduce the invoice amount.

Request

Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.zapmail.ai/api/v2/domains/renew' \
--header 'x-auth-zapmail: YOUR_API_KEY' \
--header 'x-workspace-key: workspace_id' \
--header 'x-service-provider: GOOGLE' \
--header 'Content-Type: application/json' \
--data-raw '{
    "domainIds": [
        "string"
    ],
    "contains": "string",
    "tagIds": [
        "string"
    ]
}'
Response Response Example
{
  "status": 200,
  "message": "Domain Renewal payment link generated successfully",
  "data": {
    "paymentLink": "https://invoice.stripe.com/i/acct_xxx/live_xxx",
    "domains": [
      "bulk-cart-order-uuid"
    ],
    "domainIds": [
      "domain-uuid-1",
      "domain-uuid-2"
    ]
  }
}
Modified at 2026-04-22 13:41:42
Previous
Get Renewal Price
Next
Delete Tag
Built with