1. Domains
InboxKit
  • Introduction
  • Quick Start
  • Domain Management
  • Mailbox Operations
  • Deliverability Monitoring
  • Order
    • Place Order
  • Webhook
    • Events: OAuth Consent & Client ID Changes
    • Event: Mailbox Status Changed
    • Webhook Integration & Signature Verification
    • Event: Domain Status Changed
  • Account
    • Get account details
  • Workspaces
    • List workspaces
    • Create workspace
    • Invite Member to Workspace
    • Get workspace details
    • Update workspace
    • Delete workspace
    • Update workspace webhook
  • Domains
    • Domain Renewals
    • Check if domain is banned from registration
      GET
    • Check domain availability
      GET
    • Register domains
      POST
    • List domains
      POST
    • List assignable domains
      GET
    • Remove domains
      POST
    • Set domain forwarding
      POST
    • Set catch-all email
      POST
    • Remove catch-all email
      DELETE
    • Get nameservers for domain connection
      POST
    • Check nameservers propagation
      POST
    • Check Workspace Availability
      POST
    • Set DMARC Configuration
      POST
    • Remove DMARC Configuration
      DELETE
    • Regenerate Domain Nameservers
      POST
    • Request Domain Renewal
      POST
    • Check Renewal Status
      GET
    • Update Domain Privacy
      POST
    • Update Domain Contact Details
      POST
    • Search available domains
      POST
    • Move domains to another workspace
      POST
    • Preview a domain move
      POST
    • Get domain move status
      GET
    • Start a domain rotation
      POST
    • Preview a domain rotation
      POST
    • Get domain rotation status
      GET
  • Cloudflare Domains
    • Connect Cloudflare Domains
    • List Connected Cloudflare Domains
    • Get Domain Details
    • Disconnect Cloudflare Domains
    • List Cloudflare Zones
  • Mailboxes
    • Microsoft 365 & Azure Reactivation
      • Reactivate mailboxes (Microsoft 365 / Azure)
      • Re-purchase mailboxes for reactivation (Microsoft 365 / Azure)
    • List mailboxes
    • Add or update signature for mailboxes
    • Delete signature for mailboxes
    • Show mailbox credentials
    • Get mailbox details
    • Buy mailboxes
    • Check mailbox status
    • Cancel mailboxes
    • Update mailbox
    • Update mailbox profile picture
    • Generate TOTP
    • Change username
    • Change password
    • Check mailbox availability
    • Get Failure Reason
    • Uncancel mailboxes
    • Resetup mailboxes
    • Get resetup status
  • DNS
    • Get DNS records
    • Add DNS records
    • Update DNS records
    • Delete DNS records
    • Verify DNS records
    • Repair DNS records
  • Sequencers
    • Export mailboxes status
    • List sequencer platforms
    • Get sequencer tags
    • List sequencers
    • Export mailboxes
    • Add sequencer
    • Update sequencer
    • Delete sequencers
    • Verify Lemlist OTP
  • Billing
    • Get pricing plans
    • Add Credits to Wallet
    • Check Payment Status
    • Get subscription details
    • Change subscription plan
    • Cancel subscription
    • Get wallet details
    • Update auto top-up settings
    • Get billing portal link
    • Get Wallet Logs
  • Warmup
    • List Warmup Subscriptions
    • Get Warmup Subscription Details
    • Add Warmup to Mailboxes
    • Pause Warmup for Mailboxes
    • Resume Warmup for Mailboxes
    • Cancel Warmup for Mailboxes
    • Get Warmup Statistics
    • Get Warmup Pricing
    • Update Warmup Settings
  • Client ID Requests
    • Initiate Client ID Request
    • Get Client ID Request Status
    • List Client ID Requests
  • Mailbox Forwarding
    • Setup Email Forwarding
    • Update Email Forwarding
    • Remove Email Forwarding
    • List Forwarding Jobs
  • Consent Request
    • Initiate Consent Request
    • Get Consent Request Status
    • List Consent Requests
  • Tags
    • Assign tags to domains or mailboxes
    • Get all tags
    • Create a new tag
    • Delete a tag
  • Prewarm
    • Search Domains
    • Search Mailboxes
    • Buy Prewarmed Mailboxes
    • Check Order Status
    • Check Availability
  • Inbox Placement
    • Tests
      • Create Test
      • List Tests
      • Get Test Results
    • Scheduled Tests
      • List Scheduled Tests
      • Get Scheduled Test
      • Pause Scheduled Test
      • Resume Scheduled Test
      • Delete Scheduled Test
  • InfraGuard
    • InfraGuard - Subscriptions
      • List protected domains
      • Get subscription details
      • Enable InfraGuard for domains
      • Cancel InfraGuard for domains
      • Get workspace statistics
      • Get pricing info
    • InfraGuard - Monitoring
      • Get blacklist check history
      • Get DNS check history
      • Get current bounce metrics
      • Get bounce check history
    • InfraGuard - Settings
      • Update subscription settings
      • Trigger manual check
    • InfraGuard - Alerts
      • List alerts
      • Acknowledge an alert
      • Resolve an alert
    • InfraGuard - Action Items
      • List action items
      • Get action item statistics
      • Resolve an action item
      • Dismiss an action item
  • Email Insight
    • Email Insights - Workspace
      • Get Workspace Overview
      • Get Mailboxes Health
      • Get High Bounce Mailboxes
      • Get Workspace Activity
      • Get Workspace Daily Stats
      • Get Workspace Campaign Reply Rate
    • Email Insights - Mailbox
      • Get Mailbox Stats
      • Get Mailbox Deliverability
      • Get Mailbox Health
      • Get Mailbox Trends
      • Get Mailbox Activity
      • Get Mailbox Bounce Events
      • Get Mailbox Top Recipients
      • Get Mailbox Top Recipient Domains
      • Get Mailbox Message Breakdown
      • Get Mailbox Subject Analysis
      • Get Mailbox Reply Time Heatmap
      • Get Mailbox Reply Rate By Domain
      • Get Mailbox Velocity Overlay
      • Get Mailbox First Touch Funnel
      • Get Mailbox Warmup Stats
      • Get Mailbox Auth Failures
      • Get Mailbox Sending IP Breakdown
      • Get Mailbox Recipient ESP Breakdown
      • Get Mailbox Body Templates
  • Domain Renewals
  • Verified Domains
    • List verified destinations
    • Add a destination to verify
    • Verify a destination
    • Remove a destination
  • Schemas
    • Schemas
      • WebhookPayload
      • DomainStatusWebhook
      • Tag
      • DomainEventData
      • MailboxStatusWebhook
      • MailboxEventData
      • Domain
      • Mailbox
      • ChangeDetails
      • WebhookResponse
      • ErrorResponse
  1. Domains

Preview a domain rotation

POST
https://api.inboxkit.com/v1/api/domains/rotate/preview
Maintainer:Not configured
Check whether you can rotate a domain onto a replacement domain, and see which mailboxes would move and their new addresses. Nothing is changed.
What a rotation does
Every mailbox on the domain moves to the replacement domain and keeps its username. For example, [email protected] becomes [email protected].
Each mailbox keeps its password, billing and renewal date.
The old address keeps receiving mail as an alias of the new one.
After the rotation completes, reconnect the mailboxes to your sending tools with their new addresses. You can export them again with Export mailboxes.
Choosing the domains
Give the domain to rotate with domain_uid or domain, and the replacement with target_domain_uid or target_domain. Send one of each pair, not both.
Both domains must be in the workspace given in X-Workspace-Id.
The replacement must be an active domain with no mailboxes.
Domain names are not case sensitive.
Why a rotation cannot start
codeWhy the rotation cannot start
DOMAIN_NOT_SET_UPThe domain you want to rotate was never set up, so it has nothing to rotate.
TARGET_WARMINGThe replacement domain is being warmed. Stop warming on it first.
SAME_DOMAINThe domain and the replacement are the same domain.
MIXED_PROVIDERSThe domain has mailboxes on more than one provider. Only domains whose mailboxes are all on one provider can be rotated.
TARGET_NOT_EMPTYThe replacement domain already has mailboxes. Choose a domain with no mailboxes.
TARGET_NOT_AVAILABLE_FOR_PROVIDERThe replacement domain can't host mailboxes of this provider. Choose another replacement.
ROTATION_IN_PROGRESSA rotation of this domain is already running.
TARGET_IN_USEThe replacement domain is already the replacement in another rotation that is running.
ORDER_IN_PROGRESSAn order for one of the two domains is still in progress.
MAILBOX_SETUP_IN_PROGRESSMailboxes on one of the two domains are still being set up.
RESETUP_IN_PROGRESSA mailbox resetup is scheduled or running for one of the two domains.
MOVE_IN_PROGRESSOne of the two domains is being moved to another workspace.
NOTHING_TO_ROTATEThe domain has no mailboxes to rotate.
PREVIOUS_ROTATION_FAILEDThe last rotation of this domain did not complete. Contact support to finish it before you start a new one.
Most of these clear on their own when the other work finishes. Try again later, or contact support if a reason does not clear.
Next steps
When result.can_rotate is true, send the same request body to Start a domain rotation.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params

Body Params application/json

Examples

Responses

🟢200OK
application/json
The check ran. result.can_rotate says whether the rotation can start now. Nothing was changed.
Bodyapplication/json

🟠400Bad Request
🟠401Unauthorized
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location 'https://api.inboxkit.com/v1/api/domains/rotate/preview' \
--header 'X-Workspace-Id;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "domain": "example-outreach.com",
    "target_domain": "example-sales.com"
}'
Response Response Example
200 - Ready to rotate
{
    "error": false,
    "message": "This rotation can start",
    "result": {
        "can_rotate": true,
        "domain": {
            "uid": "d1b2c3a4-1111-4a1b-9c8d-111122223333",
            "name": "example-outreach.com"
        },
        "target_domain": {
            "uid": "9c1b7e20-2222-4b2c-8d9e-333344445555",
            "name": "example-sales.com"
        },
        "provider": "GOOGLE",
        "mailbox_count": 2,
        "mailboxes": [
            {
                "uid": "a1b2c3d4-0000-4000-8000-000000000001",
                "from_email": "[email protected]",
                "to_email": "[email protected]"
            },
            {
                "uid": "a1b2c3d4-0000-4000-8000-000000000002",
                "from_email": "[email protected]",
                "to_email": "[email protected]"
            }
        ],
        "blockers": []
    }
}
Modified at 2026-10-03 19:13:00
Previous
Start a domain rotation
Next
Get domain rotation status
Built with