Postmaster Accounts API
Access Google Postmaster Tools data for domain reputation monitoring
Postmaster Accounts API
The Postmaster Accounts API provides access to Google Postmaster Tools data, including domain reputation, spam rates, IP reputation, authentication metrics, and delivery errors.
API access is available on Pro and Enterprise plans. You must first connect a Google Postmaster account in the InboxIssue dashboard under Postmaster Tools.
Connected Accounts
List your connected Google Postmaster accounts for the current workspace.
Response
Error Response
404 — No connected accounts:
Get Cumulative Postmaster Data
Retrieve cumulative postmaster data across all domains for a connected account.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
email | string | Yes | Email address of the connected Google Postmaster account |
Response
Error Responses
404 — No data available:
Get Domain Postmaster Data
Retrieve detailed postmaster data for a specific domain with optional date filtering.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | integer | Connected account ID (from the /connected endpoint) |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
email | string | Yes | Email of the connected Postmaster account |
item | string | Yes | Domain to query (e.g., yourcompany.com) |
start_date | string | No | Start date in YYYY-MM-DD format |
end_date | string | No | End date in YYYY-MM-DD format |
If you provide start_date, you must also provide end_date, and vice versa. Both must use YYYY-MM-DD format.
Response
Response Fields
| Field | Description |
|---|---|
spam_rate_data | Daily spam rate as reported by Gmail users |
ip_reputation_data | IP reputation distribution (high/medium/low/bad) |
domain_reputation_data | Overall domain reputation: HIGH, MEDIUM, LOW, or BAD |
feedback_loop_data | Spam complaints and feedback loop signals |
authentication_data | SPF, DKIM, and DMARC pass rates |
encryption_data | TLS encryption success rate |
delivery_errors_data | Delivery error details |
Error Responses
404 — Account or domain not found:
422 — Validation errors: