Gmail Postmaster Tools API
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Postmaster Tools API는 현재 Gmail Postmaster Tools UI를 통해 제공되는 이메일 트래픽 측정항목 (예: 스팸 신고, 전송 오류 등)에 프로그래매틱 방식으로 액세스할 수 있는 RESTful API입니다.
서비스: gmailpostmastertools.googleapis.com
이 서비스를 호출하려면 Google에서 제공하는 클라이언트 라이브러리를 사용하는 것이 좋습니다. 애플리케이션에서 자체 라이브러리를 사용하여 이 서비스를 호출해야 한다면 API 요청을 실행할 때 다음 정보를 사용해야 합니다.
검색 문서
검색 문서는 머신에서 읽을 수 있는 사양이며 REST API를 설명하고 사용하는 데 참조할 수 있습니다. 또한 클라이언트 라이브러리, IDE 플러그인, 기타 Google API와 상호작용하는 도구를 빌드하는 데 사용됩니다. 하나의 서비스는 여러 개의 검색 문서를 제공할 수 있습니다. 이 서비스는 다음 검색 문서를 제공합니다.
서비스 엔드포인트
서비스 엔드포인트는 API 서비스의 네트워크 주소를 지정하는 기준 URL입니다. 하나의 서비스는 여러 서비스 엔드포인트를 포함할 수 있습니다. 이 서비스에는 다음 서비스 엔드포인트가 포함되고, 그 아래의 모든 URI가 이 서비스 엔드포인트와 관련됩니다.
https://gmailpostmastertools.googleapis.com
메서드 |
get |
GET /v1/{name=domains/*}
클라이언트가 등록한 특정 도메인을 가져옵니다. |
list |
GET /v1/domains
클라이언트가 등록한 도메인을 나열합니다. |
메서드 |
get |
GET /v1/{name=domains/*/trafficStats/*}
특정 날짜의 도메인 트래픽 통계를 가져옵니다. |
list |
GET /v1/{parent=domains/*}/trafficStats
사용 가능한 모든 날짜의 트래픽 통계를 표시합니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[],[],null,["# Gmail Postmaster Tools API\n\nThe 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.\n\n- [REST Resource: v1.domains](#v1.domains)\n- [REST Resource: v1.domains.trafficStats](#v1.domains.trafficStats)\n\nService: gmailpostmastertools.googleapis.com\n--------------------------------------------\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Discovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:\n\n- \u003chttps://gmailpostmastertools.googleapis.com/$discovery/rest?version=v1\u003e\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://gmailpostmastertools.googleapis.com`\n\nREST Resource: [v1.domains](/workspace/gmail/postmaster/reference/rest/v1/domains)\n----------------------------------------------------------------------------------\n\n| Methods ||\n|--------------------------------------------------------------------|------------------------------------------------------------------------------|\n| [get](/workspace/gmail/postmaster/reference/rest/v1/domains/get) | `GET /v1/{name=domains/*}` Gets a specific domain registered by the client. |\n| [list](/workspace/gmail/postmaster/reference/rest/v1/domains/list) | `GET /v1/domains` Lists the domains that have been registered by the client. |\n\nREST Resource: [v1.domains.trafficStats](/workspace/gmail/postmaster/reference/rest/v1/domains.trafficStats)\n------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|---------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|\n| [get](/workspace/gmail/postmaster/reference/rest/v1/domains.trafficStats/get) | `GET /v1/{name=domains/*/trafficStats/*}` Get traffic statistics for a domain on a specific date. |\n| [list](/workspace/gmail/postmaster/reference/rest/v1/domains.trafficStats/list) | `GET /v1/{parent=domains/*}/trafficStats` List traffic statistics for all available days. |"]]