Postmaster Tools API를 사용하면 Gmail 사용자에게 전송된 대량 이메일에 대한 측정항목을 수집하고 데이터를 다른 시스템으로 가져오거나 다른 시스템과 병합할 수 있습니다.
측정항목에는 사용자가 스팸으로 표시한 이메일의 비율과 전송 오류가 포함됩니다. Postmaster Tools API에서 제공하는 측정항목에 대한 자세한 설명은 Postmaster Tools 고객센터 도움말의 대시보드 섹션을 참고하세요.
개괄적인 구현 단계
이 API를 사용하려면 다음 대략적인 단계를 따르세요.
이메일 인증에 사용되는 DKIM (d=) 또는 SPF 도메인 (Return-Path 도메인)인 인증 도메인을 설정합니다.
API를 설정합니다.
프로젝트를 만듭니다.
Postmaster Tools API를 사용 설정합니다.
API의 사용자 인증 정보를 설정합니다.
OAuth2 토큰을 만듭니다.
OAuth2 토큰과 사용자 인증 정보를 사용하여 도메인 확인 및 측정항목 검색을 비롯한 API 호출을 실행합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-08-29(UTC)"],[],[],null,["# Postmaster Tools API overview\n\nThe Postmaster Tools API allows you to gather metrics on bulk emails sent to\nGmail users and import data into, or merge that data with, other systems.\nMetrics include the percentage of your email marked as spam by the user and\ndelivery errors. For a full explanation of the metrics provided by the\nPostmaster Tools API, refer to Dashboards section of the\n[Postmaster Tools help center article](https://support.google.com/mail/answer/6227174).\n\nHigh-level implementation steps\n-------------------------------\n\nFollow these high-level steps to use this API:\n\n1. Set up an authentication domain, either the DKIM (d=) or SPF domain (Return-Path domain) that is used to authenticate your email.\n2. Set up the API:\n 1. Create a project.\n 2. Turn on the Postmaster Tools API.\n 3. Set up credentials for the API.\n 4. Create an OAuth2 token.\n3. Use the OAuth2 token and credentials to make API calls including verifying domains and retrieving metrics.\n\nNext steps\n----------\n\nTo set up the authentication domain, proceed to\n[Set up authentication domain](/workspace/gmail/postmaster/guides/domain)."]]