googleapis.com

The Postmaster Tools API is a RESTful API that provides programmatic access to email traffic metrics (like spam reports, delivery errors etc) otherwise available through the Gmail Postmaster Tools UI currently.

🔑 oauth2 3 endpoints analyticsmedia
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (10 total)

mcp-toolbox-sdk-python ✓ Official
pip install mcp-toolbox-sdk-python
python-storage ✓ Official
pip install python-storage
python-aiplatform ✓ Official
pip install python-aiplatform
python-genai ✓ Official
pip install python-genai
js-genai ✓ Official
npm install js-genai
go-genai ✓ Official
go get github.com/googleapis/go-genai
sdk-platform-java ✓ Official
# Maven: see https://github.com/googleapis/sdk-platform-java
java-genai ✓ Official
# Maven: see https://github.com/googleapis/java-genai
dotnet-genai ✓ Official
# See https://github.com/googleapis/dotnet-genai
gax-java ✓ Official
# See https://github.com/googleapis/gax-java
curl examples
Get traffic statistics for a domain on a specific date. Returns PERMISSION_DE…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://gmailpostmastertools.googleapis.com/v1beta1/{name}
Lists the domains that have been registered by the client. The order of domai…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://gmailpostmastertools.googleapis.com/v1beta1/domains
List traffic statistics for all available days. Returns PERMISSION_DENIED if …
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://gmailpostmastertools.googleapis.com/v1beta1/{parent}/trafficStats
Endpoints (3 total)
GET
/v1beta1/{name}
Get traffic statistics for a domain on a specific date. Returns PERMISSION_DE…
GET
/v1beta1/domains
Lists the domains that have been registered by the client. The order of domai…
GET
/v1beta1/{parent}/trafficStats
List traffic statistics for all available days. Returns PERMISSION_DENIED if …
At a glance
Total SDKs10
Languages6
Endpoints3
Authoauth2
Categories2
https://gmailpostmastertools.googleapis.com