InboxWarm APIドキュメント
InboxWarmのREST APIのリファレンスドキュメントです。InboxWarm APIのPostmanコレクションと併せてご利用ください。
このページの内容
メールアカウント
ウォームアップ
ベースURL#
https://app.inboxwarm.ai/api/v1認証#
InboxWarmは、HTTPメソッドに応じて異なる認証方式を組み合わせて使用します。
GETおよびDELETEリクエスト — APIキーをapi_keyクエリパラメータとして送信します。
POSTおよびPATCHリクエスト — APIキーをJSONボディ内のapiKeyフィールドとして送信します。
キーの生成と管理は、InboxWarmアプリのDeveloper kit > API Integrationから行います。各キーは、以下のすべてのエンドポイントにわたってアカウントへのフルアクセスを付与します。
例 — GETリクエスト:
GET https://app.inboxwarm.ai/api/v1/email-accounts?api_key=YOUR_API_KEY例 — POSTリクエストボディ:
{
"apiKey": "YOUR_API_KEY",
...
}レート制限#
GET /rate-limitでいつでも確認できます。この呼び出しはクォータには計上されません。エラー#
エラーは一貫した形式に従います。
{
"error_code": "validation_error",
"message": "One or more fields are invalid.",
"details": {}
}一般的なerror_codeの値: validation_error (400)、not_found (404)、conflict (409)、unprocessable (422)。
エンドポイント一覧#
メールアカウント
/email-accountsメールアカウント一覧POST/email-accountsメールアカウントを接続POST/email-accounts/bulk-connectメールアカウントを一括接続POST/email-accounts/{emailAccountId}/disconnectメールアカウントを切断DELETE/email-accounts/{emailAccountId}メールアカウントを削除POST/email-accounts/bulk-deleteメールアカウントを一括削除GET/email-accounts/{emailAccountId}/statusメールアカウントのステータスを取得POST/email-accounts/bulk-statusメールアカウントのステータスを一括取得ウォームアップ
/warmup-settings/{emailAccountId}ウォームアップ設定を取得PATCH/warmup-settings/{emailAccountId}ウォームアップ設定を更新GET/warmup-settings/languagesウォームアップ言語一覧GET/warmup-settings/industriesウォームアップ業種一覧POST/warmup-settings/{emailAccountId}/startウォームアップを開始POST/warmup-settings/{emailAccountId}/stopウォームアップを停止POST/warmup-settings/bulk-actionウォームアップの一括操作POST/warmup-settings/bulk-updateウォームアップ設定を一括更新GET/warmup-status/{emailAccountId}ウォームアップアクティビティ履歴到達率
システム
ヘルスチェック#
https://app.inboxwarm.ai/api/v1/healthAPIの基本的な稼働確認を行います。
api_keyレスポンス
{
"status": "ok"
}レート制限ステータス#
https://app.inboxwarm.ai/api/v1/rate-limitクォータに対するリクエストを消費せずに、現在のレート制限の消費状況を確認します。
api_keyレスポンス
{
"limit": 20,
"remaining": 18,
"reset": 1752585600
}メールアカウント
メールアカウント一覧#
https://app.inboxwarm.ai/api/v1/email-accounts接続済みのメールアカウントを現在のステータスとともに一覧表示します。検索、ページネーション、並べ替えに対応しています。アドレスのemailAccountIdを再解決する必要がある場合は、検索を使用して照会してください。
api_keyクエリパラメータ
searchメールアドレスまたは名前で検索statusactive | warming | paused | error | auth-expiredsortsortByレスポンス
{
"items": [
{
"id": "12345",
"fromEmail": "john@yourcompany.com",
"fromName": "John Doe",
"type": "gmail",
"status": "warming",
"createdAt": "2026-06-01T10:00:00.000Z"
},
{
"id": "12346",
"fromEmail": "sales@yourcompany.com",
"fromName": "Sales Team",
"type": "microsoft",
"status": "active",
"createdAt": "2026-06-03T14:20:00.000Z"
}
],
"total": 2,
"page": 1,
"limit": 20,
"totalPages": 1
}メールアカウントを接続#
https://app.inboxwarm.ai/api/v1/email-accountsGmail、Microsoft、またはSMTP/IMAPアカウントを、SMTP/IMAP認証情報を使用して接続します(Gmail・Microsoftともにアプリパスワードが利用できます)。返されたemailAccountIdを保存してください。他のすべてのエンドポイントはこれをキーとして使用します。
apiKeyリクエストボディ
{
"apiKey": "{{apiKey}}",
"fromEmail": "john@yourcompany.com",
"fromName": "John Doe",
"type": "gmail",
"smtp": {
"host": "smtp.example.com",
"port": 587,
"password": "your-password",
"encryption": "TLS",
"userName": "smtp-username"
},
"imap": {
"host": "imap.example.com",
"port": 993,
"encryption": "SSL",
"userName": "imap-username"
}
}レスポンス
{
"emailAccountId": "12345",
"fromEmail": "john@yourcompany.com",
"fromName": "John Doe",
"type": "gmail",
"status": "active"
}メールアカウントを一括接続#
https://app.inboxwarm.ai/api/v1/email-accounts/bulk-connect一度の呼び出しで最大20件のアカウントを接続します。各エントリは個別に検証・接続されるため、1件の不正なアカウントや重複アカウントがあっても他の処理には影響しません。レスポンスでは、入力と同じ順序でアカウントごとの成功・失敗が報告されます。
apiKeyリクエストボディ
{
"apiKey": "{{apiKey}}",
"emailAccounts": [
{
"fromEmail": "john@yourcompany.com",
"fromName": "John Doe",
"type": "gmail",
"smtp": { "host": "smtp.example.com", "port": 587, "password": "your-password", "encryption": "TLS", "userName": "smtp-username" },
"imap": { "host": "imap.example.com", "port": 993, "encryption": "SSL", "userName": "imap-username" }
},
{
"fromEmail": "sales@yourcompany.com",
"type": "microsoft",
"smtp": { "password": "app-specific-password" }
}
]
}レスポンス
{
"results": [
{
"success": true,
"emailAccountId": "12345",
"fromEmail": "john@yourcompany.com",
"fromName": "John Doe",
"type": "gmail",
"status": "active"
},
{
"success": false,
"fromEmail": "sales@yourcompany.com",
"error_code": "already_connected",
"message": "This email address is already connected.",
"details": {}
}
]
}メールアカウントを切断#
https://app.inboxwarm.ai/api/v1/email-accounts/{emailAccountId}/disconnectアカウントを削除せずに一時停止します。後で再接続できるように、設定と履歴は保持されます。
apiKeyリクエストボディ
{
"apiKey": "{{apiKey}}"
}レスポンス
{
"emailAccountId": "12345",
"status": "disconnected"
}メールアカウントを削除#
https://app.inboxwarm.ai/api/v1/email-accounts/{emailAccountId}アカウントと、関連するすべてのウォームアップデータおよび履歴を完全に削除します。
api_keyレスポンス
レスポンス本文なし
メールアカウントを一括削除#
https://app.inboxwarm.ai/api/v1/email-accounts/bulk-delete1回の呼び出しで最大20件のアカウントを完全に削除します。
apiKeyリクエストボディ
{
"apiKey": "{{apiKey}}",
"emailAccountIds": [
"12345",
"12346"
]
}レスポンス
{
"results": [
{
"emailAccountId": "12345",
"deleted": true
},
{
"emailAccountId": "12346",
"deleted": true
}
]
}メールアカウントのステータスを取得#
https://app.inboxwarm.ai/api/v1/email-accounts/{emailAccountId}/status単一アカウントの詳細なステータス — 接続の健全性、ウォームアップの状態、認証ステータス、アクティブなエラー。
api_keyレスポンス
{
"emailAccountId": "12345",
"fromEmail": "john@yourcompany.com",
"type": "gmail",
"authStatus": "connected",
"warmupStatus": "active",
"healthScore": 92,
"connectionError": null,
"lastConnectedAt": "2026-07-15T08:00:00.000Z"
}メールアカウントのステータスを一括取得#
https://app.inboxwarm.ai/api/v1/email-accounts/bulk-status1回の呼び出しで最大50件のアカウントのステータスを、入力したIDと同じ順序で返します。
apiKeyリクエストボディ
{
"apiKey": "{{apiKey}}",
"emailAccountIds": [
"12345",
"12346"
]
}レスポンス
{
"results": [
{
"emailAccountId": "12345",
"fromEmail": "john@yourcompany.com",
"type": "gmail",
"authStatus": "connected",
"warmupStatus": "active",
"healthScore": 92,
"connectionError": null,
"lastConnectedAt": "2026-07-15T08:00:00.000Z"
},
{
"emailAccountId": "12346",
"fromEmail": "sales@yourcompany.com",
"type": "microsoft",
"authStatus": "connected",
"warmupStatus": "paused",
"healthScore": 81,
"connectionError": null,
"lastConnectedAt": "2026-07-14T22:10:00.000Z"
}
]
}ウォームアップ
ウォームアップ設定を取得#
https://app.inboxwarm.ai/api/v1/warmup-settings/{emailAccountId}アカウントの現在のウォームアップ設定を取得します。
api_keyレスポンス
{
"emailAccountId": "12345",
"displayName": "Ada Lovelace",
"timeZone": "America/New_York",
"sendingDays": [1, 2, 3, 4, 5],
"sendingWindowStartTime": "09:00",
"sendingWindowEndTime": "17:00",
"warmupLanguage": "en",
"targetIndustry": "saas_software",
"warmupTopics": ["Referral request", "Case study"]
}ウォームアップ設定を更新#
https://app.inboxwarm.ai/api/v1/warmup-settings/{emailAccountId}アカウントの1つまたは複数のウォームアップ設定を更新します — 送信者名、タイムゾーン、送信スケジュール、言語、業種、トピックなど。送信したフィールドのみが変更されます。
apiKeyリクエストボディ
{
"apiKey": "{{apiKey}}",
"displayName": "Ada Lovelace",
"timeZone": "America/New_York",
"sendingDays": [1, 2, 3, 4, 5],
"sendingWindowStartTime": "09:00",
"sendingWindowEndTime": "17:00",
"warmupLanguage": "en",
"targetIndustry": "saas_software",
"warmupTopics": ["Referral request", "Case study"]
}レスポンス
{
"emailAccountId": "12345",
"displayName": "Ada Lovelace",
"timeZone": "America/New_York",
"sendingDays": [1, 2, 3, 4, 5],
"sendingWindowStartTime": "09:00",
"sendingWindowEndTime": "17:00",
"warmupLanguage": "en",
"targetIndustry": "saas_software",
"warmupTopics": ["Referral request", "Case study"]
}ウォームアップ言語一覧#
https://app.inboxwarm.ai/api/v1/warmup-settings/languagesウォームアップコンテンツを生成できるすべての言語を一覧表示します。warmupLanguageに指定できる値を確認できます。
api_keyレスポンス
{
"languages": [
{ "code": "en", "name": "English", "nativeName": "English", "script": "Latin" },
{ "code": "es", "name": "Spanish", "nativeName": "Español", "script": "Latin" },
{ "code": "ja", "name": "Japanese", "nativeName": "日本語", "script": "Japanese" }
]
}ウォームアップ業種一覧#
https://app.inboxwarm.ai/api/v1/warmup-settings/industriesすべての対象業種と、それぞれの推奨トピックを一覧表示します。targetIndustryおよびwarmupTopicsに指定できる値を確認できます。
api_keyレスポンス
{
"industries": [
{
"key": "e_commerce",
"name": "E-Commerce",
"topics": [
"Abandoned cart follow-up",
"New product launch",
"Seasonal sale announcement",
"Order and shipping update",
"Customer review request"
]
},
{
"key": "saas_software",
"name": "SaaS / Software",
"topics": ["Feature announcement", "Onboarding tip", "Case study"]
}
]
}ウォームアップを開始#
https://app.inboxwarm.ai/api/v1/warmup-settings/{emailAccountId}/startアカウントのウォームアップを開始します。
apiKeyリクエストボディ
{
"apiKey": "{{apiKey}}"
}レスポンス
{
"emailAccountId": "12345",
"warmupStatus": "active"
}ウォームアップを停止#
https://app.inboxwarm.ai/api/v1/warmup-settings/{emailAccountId}/stopアカウントのウォームアップを停止します。
apiKeyリクエストボディ
{
"apiKey": "{{apiKey}}"
}レスポンス
{
"emailAccountId": "12345",
"warmupStatus": "paused"
}ウォームアップの一括操作#
https://app.inboxwarm.ai/api/v1/warmup-settings/bulk-action1回の呼び出しで最大50件のアカウントのウォームアップを開始または停止します。
apiKeyリクエストボディ
{
"apiKey": "{{apiKey}}",
"emailAccountIds": [
"12345",
"12346"
],
"action": "start"
}レスポンス
{
"results": [
{
"emailAccountId": "12345",
"status": "ok"
},
{
"emailAccountId": "12346",
"status": "ok"
}
]
}ウォームアップ設定を一括更新#
https://app.inboxwarm.ai/api/v1/warmup-settings/bulk-update1回の呼び出しで最大50件のアカウントにスケジュールおよび/またはコンテンツ設定を適用します。
apiKeyリクエストボディ
{
"apiKey": "{{apiKey}}",
"emailAccountIds": [
"12345",
"12346"
],
"apply": ["language", "window"],
"warmupLanguage": "es",
"sendingWindowStartTime": "06:00",
"sendingWindowEndTime": "10:00"
}レスポンス
{
"updatedCount": 2
}ウォームアップアクティビティ履歴#
https://app.inboxwarm.ai/api/v1/warmup-status/{emailAccountId}アカウントの本日のウォームアップアクティビティ: 送信、受信、返信、スパム、バウンス。
api_keyレスポンス
{
"emailAccountId": "12345",
"date": "2026-07-15",
"current": "active",
"dailySendingLimit": 10,
"sent": 12,
"received": 10,
"replied": 7,
"spam": 1,
"bounced": 0
}到達率
セットアップスコアを取得#
https://app.inboxwarm.ai/api/v1/setup-score/{emailAccountId}アカウントのキャッシュされたセットアップの健全性スコア(DMARC、SPF、DKIM、MX、ブラックリストのチェック)。
api_keyレスポンス
{
"emailAccountId": "12345",
"emailAccountScore": 86,
"dmarcScore": 15,
"spfScore": 29,
"dkimScore": 18,
"mxRecordScore": 9,
"ipBlacklistScore": 5,
"domainBlacklistScore": 10,
"updatedAt": "2026-07-14T10:30:00.000Z",
"manualLastRefreshedAt": "2026-07-14T10:30:00.000Z"
}セットアップスコアを更新#
https://app.inboxwarm.ai/api/v1/setup-score/{emailAccountId}/refreshアカウントのセットアップスコアを同期的に再計算します。
apiKeyリクエストボディ
{
"apiKey": "{{apiKey}}"
}レスポンス
{
"emailAccountId": "12345",
"emailAccountScore": 88,
"dmarcScore": 15,
"spfScore": 29,
"dkimScore": 18,
"mxRecordScore": 9,
"ipBlacklistScore": 7,
"domainBlacklistScore": 10,
"updatedAt": "2026-07-15T09:00:00.000Z",
"manualLastRefreshedAt": "2026-07-15T09:00:00.000Z"
}DNSヘルスチェック#
https://app.inboxwarm.ai/api/v1/dns-health/{emailAccountId}アカウントの送信ドメインに対するライブDNSルックアップ — SPF、DKIM、DMARC、MXの合否。
api_keyレスポンス
{
"emailAccountId": "12345",
"spf": "pass",
"dkim": "pass",
"dmarc": "pass",
"mx": "pass",
"cachedAt": "2026-07-15T09:00:00.000Z"
}到達率スコアを取得#
https://app.inboxwarm.ai/api/v1/deliverability-score/{emailAccountId}指定した期間の全体およびESPごとの受信トレイ対スパムの到達率。
apiKeyリクエストボディ
{
"apiKey": "{{apiKey}}",
"startDate": "2026-06-01",
"endDate": "2026-06-30",
"esps": [
"gmail",
"outlook",
"other"
]
}レスポンス
{
"emailAccountId": "12345",
"totalDeliverabilityRate": 88,
"totalSentCount": 1500,
"totalInboxCount": 1320,
"totalSpamInboxCount": 180,
"gmail": {
"deliverabilityRate": 92,
"sentCount": 500,
"inboxCount": 460,
"spamCount": 40
},
"outlook": {
"deliverabilityRate": 92,
"sentCount": 500,
"inboxCount": 460,
"spamCount": 40
},
"other": {
"deliverabilityRate": 92,
"sentCount": 500,
"inboxCount": 460,
"spamCount": 40
}
}レポート
ダッシュボード#
https://app.inboxwarm.ai/api/v1/dashboard接続済みのすべての受信トレイにわたるアカウント全体のウォームアップサマリー。
api_keyレスポンス
{
"totalAccounts": 42,
"activeWarmups": 30,
"pausedWarmups": 8,
"accountsWithErrors": 2,
"avgSetupScore": 78.5
}単一アカウントレポート#
https://app.inboxwarm.ai/api/v1/reports指定した期間における1つのアカウントの日次ウォームアップレポート。
apiKeyリクエストボディ
{
"apiKey": "{{apiKey}}",
"emailAccountId": "12345",
"from": "2026-06-01",
"to": "2026-06-30"
}レスポンス
{
"emailAccountId": "12345",
"from": "2026-06-01",
"to": "2026-06-30",
"days": [
{
"date": "2026-06-15",
"sent": 25,
"inbox": 20,
"received": 22,
"spam": 3,
"bounced": 1,
"undelivered": 0,
"replied": 5,
"deliverabilityRate": 92.5
}
]
}一括レポート#
https://app.inboxwarm.ai/api/v1/reports/bulk指定した期間における最大50件のアカウントの日次ウォームアップレポート。
apiKeyリクエストボディ
{
"apiKey": "{{apiKey}}",
"emailAccountIds": [
"12345",
"12346"
],
"from": "2026-06-01",
"to": "2026-06-30"
}レスポンス
{
"reports": [
{
"emailAccountId": "12345",
"from": "2026-06-01",
"to": "2026-06-30",
"days": [
{
"date": "2026-06-15",
"sent": 25,
"inbox": 20,
"received": 22,
"spam": 3,
"bounced": 1,
"undelivered": 0,
"replied": 5,
"deliverabilityRate": 92.5
}
]
}
]
}レポートをエクスポート#
https://app.inboxwarm.ai/api/v1/reports/exportウォームアップレポートの非同期CSVエクスポートを開始し、準備ができ次第メールで配信します。
apiKeyリクエストボディ
{
"apiKey": "{{apiKey}}",
"emailAccountIds": [
"12345",
"12346"
],
"from": "2026-06-01",
"to": "2026-06-30"
}レスポンス
{
"jobId": "a1b2c3d4",
"status": "queued"
}