Cold Email Infrastructure APIs
Programmatically procure, setup, and manage high-quality Google Workspace and Microsoft 365 mailboxes for unbeatable deliverability.
import { InboxInfra } from '@inboxinfra/sdk';
// Initialize the client
const infra = new InboxInfra({
apiKey: 'your_api_key'
});
// Create new workspace
const workspace = await infra.workspaces.create({
name: 'My Cold Email Workspace',
provider: 'google' // or 'microsoft'
});
// Purchase and configure mailboxes
const mailboxes = await infra.mailboxes.create({
workspaceId: workspace.id,
count: 10,
domain: 'yourdomain.com',
setupDkim: true,
setupSpf: true,
setupDmarc: true
});
Used by leading cold email tools
API-Powered Email Infrastructure
Programmatically set up and manage your cold email infrastructure with our developer-friendly APIs.
Automated Mailbox Provisioning
Instantly provision Google Workspace and Microsoft 365 mailboxes with high-deliverability US/EU IPs through our API.
POST /api/v1/mailboxes
Automated DNS Configuration
Automatically set up DKIM, SPF, and DMARC records to optimize deliverability with a single API call.
POST /api/v1/domains/{domain_id}/dns/setup
OAuth Integration
Generate OAuth tokens for seamless integration with popular cold email tools and CRMs through our API.
POST /api/v1/mailboxes/{mailbox_id}/oauth
Bulk Operations
Create, update, and manage multiple mailboxes simultaneously with our batch API endpoints for scaling operations.
POST /api/v1/mailboxes/batch
Domain Management
Register, verify, and manage domains programmatically. Includes domain health monitoring and automatic issue alerts.
POST /api/v1/domains
Webhook Notifications
Receive real-time notifications for account status changes, provisioning events, and deliverability metrics.
POST /api/v1/webhooks
Ready-made SDKs
Get started quickly with our developer-friendly SDKs for popular programming languages and frameworks.
API Documentation
Our RESTful API lets you integrate email infrastructure management directly into your apps and services
Mailbox Endpoints
Create, manage, and monitor mailboxes programmatically. Our API enables you to provision Google Workspace and Microsoft 365 accounts with optimal deliverability settings.
/api/v1/mailboxes
Create new mailboxes
/api/v1/mailboxes
List all mailboxes
/api/v1/mailboxes/{mailbox_id}
Get a single mailbox
/api/v1/mailboxes/{mailbox_id}
Update a mailbox
/api/v1/mailboxes/{mailbox_id}
Delete a mailbox
// Request POST /api/v1/mailboxes Content-Type: application/json Authorization: Bearer YOUR_API_KEY { "workspace_id": "ws_12345", "provider": "google", "count": 5, "domain": "yourdomain.com", "location": "us", "setup_dns": true, "profiles": [ { "first_name": "John", "last_name": "Smith", "username": "john" }, { "first_name": "Sarah", "last_name": "Jones", "username": "sarah" } ] } // Response { "success": true, "data": { "mailboxes": [ { "id": "mbx_abc123", "email": "john@yourdomain.com", "status": "provisioning", "provider": "google" }, { "id": "mbx_def456", "email": "sarah@yourdomain.com", "status": "provisioning", "provider": "google" } ], "job_id": "job_789xyz" } }
Response Status Codes
- 200 Success
- 400 Invalid parameters
- 401 Unauthorized
- 429 Rate limit exceeded
Use Cases
See how businesses are leveraging InboxInfra APIs to streamline their cold email operations
Cold Email SaaS Platforms
Build email account provisioning directly into your cold email platform, allowing your users to create and manage high-deliverability mailboxes without leaving your app.
Outreach Agencies
Scale your agency operations by automating the provisioning and management of client email infrastructure through a single dashboard or your internal tools.
Marketing Automation
Integrate our API into your marketing automation stack to ensure your outreach campaigns use properly configured infrastructure for optimal deliverability.
Become an Integration Partner
Join our partner program to offer your customers seamless access to enterprise-grade cold email infrastructure. Earn revenue share and provide added value to your platform.
Transparent API Pricing
Flexible pricing designed for developers and businesses of all sizes
Starter API
For developers and small teams
- 10 Google/Microsoft mailboxes included
- Additional mailboxes at $3.25/each
- 5,000 API requests/month
- 1 workspace
- Basic API support
- US/EU IP accounts only
- No advanced rate limiting
Growth API
For growing businesses
- 50 Google/Microsoft mailboxes included
- Additional mailboxes at $2.75/each
- 25,000 API requests/month
- 5 workspaces
- Priority API support
- US/EU IP accounts + Custom IPs
- Advanced rate limiting
Enterprise API
For large operations
- 200 Google/Microsoft mailboxes included
- Additional mailboxes at $2.50/each
- Unlimited API requests
- Unlimited workspaces
- Dedicated API support
- All IP locations available
- Custom integrations & webhooks
Domain Procurement Services
Domain Registration
Register new domains for your email infrastructure through our API
Domain Services
Additional domain-related services available via API
Frequently Asked Questions
Seamless API Integration
Connect your platform to our powerful APIs and streamline your cold email infrastructure
Mailbox Procurement API
Programmatically purchase Google Workspace and Microsoft 365 mailboxes with US/EU IP addresses at wholesale prices.
DNS Configuration API
Automatically configure DKIM, SPF, and DMARC records for optimal deliverability with simple API calls.
Mailbox Export API
One-click OAuth integration with popular cold email tools like ReachInbox, Smartlead, and Instantly.
// Create new Google Workspace mailboxes
const response = await fetch('https://api.inboxinfra.com/v1/mailboxes', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
provider: 'google_workspace',
quantity: 10,
domain: 'yourdomain.com',
ip_region: 'us',
setup_dns: true
})
});
const mailboxes = await response.json();
console.log(`Created ${mailboxes.length} mailboxes successfully!`);
// Export mailboxes to your cold email tool
const exportResponse = await fetch('https://api.inboxinfra.com/v1/export', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
mailbox_ids: mailboxes.map(m => m.id),
platform: 'smartlead',
redirect_uri: 'https://yourapp.com/callback'
})
});
const exportData = await exportResponse.json();
console.log(`Export URL: ${exportData.auth_url}`);
Compatible With Your Favorite Cold Email Platforms
Get started with our comprehensive API documentation and examples
Frequently Asked Questions
Get quick answers to common questions about InboxInfra's API and services.
InboxInfra is an API service that enables companies to programmatically procure, setup, and manage email infrastructure (Google Workspace and Microsoft 365) optimized for cold email deliverability. Our APIs allow you to automate the entire process of setting up proper email infrastructure with DKIM, SPF, DMARC, and other authentication methods.
InboxInfra offers unique advantages: (1) Fully automated API-driven procurement and setup of email infrastructure, (2) Superior deliverability with proper DNS configurations, (3) Significantly lower prices than direct providers (up to 50% off standard rates), (4) Instant setup via API with no manual intervention, and (5) Simple integration with your existing systems.
Our APIs automatically configure all necessary authentication protocols (DKIM, SPF, DMARC) for your domains and email accounts. We provision fresh US/EU IP accounts with high deliverability rates, and our automated setup ensures all technical aspects are properly configured to maximize inbox placement rates for cold email campaigns.
InboxInfra currently supports Google Workspace and Microsoft 365 through our APIs. We provide fresh US/EU IP accounts for both services at significantly discounted rates compared to direct purchasing, with all the technical setup handled automatically through our API endpoints.
Yes, you have complete ownership and full access to all mailboxes procured through our API. You can use them with any email client or integration service. We simply provide the infrastructure procurement and setup via API, but the accounts are fully under your control once provisioned.
Yes, our API includes endpoints for configuring tracking domains with proper DNS settings. You can programmatically set up and verify tracking domains for use with your cold email tools, ensuring maximum deliverability and tracking accuracy.
Yes, all domains purchased through our domain procurement API are registered under your ownership with full control. We simply facilitate the programmatic purchasing process and provide convenient API endpoints for domain management and DNS configuration.
We offer tiered API pricing based on monthly mailbox volume. Google Workspace accounts start at $2.50/month (compared to Google's $7.20 direct price) and Microsoft 365 accounts at $3.00/month. Volume discounts are available. Contact us for custom enterprise pricing or specific API usage requirements.
Yes, we provide comprehensive API documentation with detailed endpoints, request/response examples, and integration guides. Once you sign up for API access, you'll receive credentials and full documentation access. We also offer integration support to help you implement our API into your systems.
Absolutely! InboxInfra APIs are designed to work seamlessly with popular cold email platforms. We offer specific endpoints for exporting mailboxes to tools like Instantly, SmartLead, QuickMail, and others. Our OAuth setup endpoints make it easy to connect newly created mailboxes to your existing tools programmatically.
Still have questions about our API services?
Contact Our API TeamTrusted by Industry Leaders
Don't just take our word for it. See what cold email professionals and our users are saying about InboxInfra's API solutions.
Dheeraj Mehndiratta
GTM & Outbound Strategies
"For a seamless email outbound, setting up infrastructure is crucial. Previously I relied on manual setups or VAs, but it was always problematic. InboxInfra's API solved this issue completely, allowing us to programmatically set up Google Workspace mailboxes in minutes."
Tomas Blatak
Building automation | @leadspicker
"InboxInfra's API has revolutionized our email infrastructure setup. We've integrated it directly into our platform, allowing us to programmatically purchase domains, set up DNS records, and configure Google Workspace emails. We can now set up hundreds of emails in minutes through automation."
Aaron Reid
Founder @Traction
"It's fair to say InboxInfra's deliverability is exceptional. The API integration into our platform was straightforward, and now our users can set up high-quality email infrastructure with a single API call. The DKIM, SPF, and DMARC configurations are perfect every time."
Carlos R
Founder, Marketing Agency
"InboxInfra's API made setting up 750+ Google Workspace mailboxes effortlessly through our internal tools. We incorporated their API into our automation flow, and the results have been fantastic. Email deliverability is better than ever, and it's worth every penny!"
Divyanshi Sharma
Co-Founder @AcquisitionX
"InboxInfra saved us tremendous development time. We integrated their API into our SaaS platform and now our customers can automatically set up optimized email infrastructure without leaving our app. Deliverability has improved significantly. Highly recommend!"
James Klein
CTO, Email Marketing Platform
"As a cold email tool provider, integrating InboxInfra's API was a game-changer. We now offer seamless email infrastructure setup directly within our platform. The API documentation is excellent, and their support team is responsive when we need help."
4.8
Stars on Trustpilot
200k+
Mailboxes Setup
75k+
Domains Managed
50+
API Integrations
Ready to Integrate Your Email Infrastructure?
Get in touch with our team to discuss your API needs, integration requirements, or to schedule a demo.
Send us a message
Schedule a Demo
See how InboxInfra API can solve your email infrastructure needs with a personalized demo.
Book a Demo CallAPI Documentation
Explore our comprehensive API documentation to understand implementation details.
View API DocsContact Information
Email us at:
api@inboxinfra.comLive chat support:
Available 24/7 for API partners