API Reference
Build powerful integrations with the Icebox API. Access emails, contacts, and more programmatically.
RESTful Design
Clean, predictable URLs and standard HTTP methods
Secure by Default
OAuth 2.0 and API key authentication options
Real-time Webhooks
Get notified instantly when events occur
Official SDKs
Libraries for popular languages and frameworks
https://api.icebox.cool/v1Quick Start
Get up and running with the Icebox API in minutes.
// Install the SDK
npm install @icebox/sdk
// Initialize the client
import { Icebox } from '@icebox/sdk';
const icebox = new Icebox({
apiKey: 'your_api_key_here'
});
// Fetch emails from inbox
const emails = await icebox.emails.list({
folder: 'inbox',
limit: 10
});
console.log(emails);curl -X GET "https://api.icebox.cool/v1/emails" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"{
"data": [
{
"id": "msg_abc123",
"subject": "Welcome to Icebox",
"from": {
"email": "hello@icebox.cool",
"name": "Icebox Team"
},
"date": "2025-01-15T10:30:00Z",
"snippet": "Thanks for signing up...",
"labels": ["inbox", "unread"]
}
],
"pagination": {
"total": 156,
"page": 1,
"per_page": 10
}
}API Endpoints
Explore the available endpoints organized by resource.
Emails
Send, receive, and manage email messages
/emailsList all emails/emails/{id}Get a specific email/emailsSend a new email/emails/{id}Update email metadata/emails/{id}Delete an emailContacts
Manage your address book and contact information
/contactsList all contacts/contacts/{id}Get a specific contact/contactsCreate a new contact/contacts/{id}Update a contact/contacts/{id}Delete a contactFolders & Labels
Organize emails with folders and labels
/foldersList all folders/foldersCreate a new folder/labelsList all labels/labelsCreate a new labelWebhooks
Receive real-time notifications for events
/webhooksList webhook subscriptions/webhooksCreate a webhook/webhooks/{id}Delete a webhookAccount
Manage account settings and preferences
/accountGet account details/accountUpdate account settings/account/usageGet API usage statsAttachments
Upload and download email attachments
/attachments/{id}Download attachment/attachmentsUpload attachment/attachments/{id}Delete attachmentOfficial SDKs
Use our official libraries to integrate faster.
JavaScript / TypeScript
npm install @icebox/sdkPython
pip install icebox-sdkRuby
gem install iceboxGo
go get github.com/icebox/sdk-goRate Limits
API rate limits are based on your subscription tier.
Authentication
All API requests require authentication via API key or OAuth 2.0 token. Include your credentials in the Authorization header.
Authorization: Bearer YOUR_API_KEYReady to get started?
Create an API key and start building your integration today.