The Postmaster Tools API lets you gather statistics on bulk emails sent to Gmail users and import data into, or merge that data with, other systems. Statistics include the percentage of your email marked as spam by the user and delivery errors. For a full explanation of the statistics provided by the Postmaster Tools API, refer to Dashboards section of the Postmaster Tools help center article.
High-level implementation steps
Follow these high-level steps to use this API:
- Set up an authentication domain, either the DKIM (d=) or SPF domain (Return-Path domain) that is used to authenticate your email.
- Set up the API:
- Create a project.
- Turn on the Postmaster Tools API.
- Set up credentials for the API.
- Create an OAuth2 token.
- Use the OAuth2 token and credentials to make API calls including verifying domains and retrieving statistics and compliance status.
Next steps
To set up the authentication domain, proceed to Set up authentication domain.