Gmail Postmaster Tools
App · 9 actions
Review sending domains, check Gmail sender compliance and read mail traffic metrics.
Actions
| Action | What it does |
|---|---|
| Get a domain verification token | Get the DNS verification token for a registered domain. |
| Get a sending domain | Read a domain’s verification status and your access level. |
| Get domain compliance status | Read a domain’s compliance with Gmail’s sender requirements. |
| List domain users | List the people with permission to view a domain. |
| List sending domains | List the sending domains registered in Postmaster Tools. |
| Query traffic statistics | Read spam rates and delivery errors over a date range. |
| Register a sending domain | Add a sending domain to Postmaster Tools for verification. |
| Remove a sending domain | Remove a sending domain from your Postmaster Tools account. |
| Verify a sending domain | Ask Google to verify the DNS record for a sending domain. |
Get a domain verification token
Get the DNS verification token for a registered domain.
Inputs
- Domain
domaintextRequired - Choose a registered sending domain.
- Dns record type
dns_record_typetextRequired - How you will publish the value in DNS.One of:
TXT,CNAME.
Outputs
dataobject- The response from Gmail Postmaster Tools.
Example output
{
"data": {
"name": "example",
"token": "example",
"verificationMethod": "example"
}
}Get a sending domain
Read a domain’s verification status and your access level.
Inputs
- Domain
domaintextRequired - Choose a registered sending domain.
Outputs
dataobject- The response from Gmail Postmaster Tools.
Example output
{
"data": {
"createTime": "example",
"lastVerifyTime": "example",
"name": "example",
"permission": "example",
"verificationState": "example"
}
}Get domain compliance status
Read a domain’s compliance with Gmail’s sender requirements.
Inputs
- Domain
domaintextRequired - Choose a registered sending domain.
Outputs
dataobject- The response from Gmail Postmaster Tools.
Example output
{
"data": {
"complianceData": {},
"name": "example",
"subdomainComplianceData": {}
}
}List domain users
List the people with permission to view a domain.
Inputs
- Domain
domaintextRequired - Choose a registered sending domain.
- Page token
page_tokentext - Continue with the next page token returned by the previous step.
- Page size
page_sizenumber - The maximum number of records on this page.At least 1.
Outputs
dataobject- The response from Gmail Postmaster Tools.
Example output
{
"data": {
"nextPageToken": "example",
"users": [
{
"name": "example",
"permission": "example",
"user": "example"
}
]
}
}List sending domains
List the sending domains registered in Postmaster Tools.
Inputs
- Page token
page_tokentext - Continue with the next page token returned by the previous step.
- Page size
page_sizenumber - The maximum number of records on this page.At least 1.
Outputs
dataobject- The response from Gmail Postmaster Tools.
Example output
{
"data": {
"domains": [
{
"createTime": "example",
"lastVerifyTime": "example",
"name": "example",
"permission": "example",
"verificationState": "example"
}
],
"nextPageToken": "example"
}
}Query traffic statistics
Read spam rates and delivery errors over a date range.
Inputs
- Domain
domaintextRequired - Choose a registered sending domain.
- Start date
start_datedateRequired - The first day of traffic data to return.
- End date
end_datedateRequired - The last day of traffic data to return.
- Metrics
metricslistRequired - Choose the metrics to include.One or more of:
SPAM_RATE(Spam rate),DELIVERY_ERROR_COUNT(Delivery error count),DELIVERY_ERROR_RATE(Delivery error rate). - Page token
page_tokentext - Continue with the token returned by the previous step.
- Page size
page_sizenumber - The maximum number of statistics to return.At least 1.
Outputs
dataobject- The response from Gmail Postmaster Tools.
Example output
{
"data": {
"domainStats": [
{
"date": {
"day": 1,
"month": 1,
"year": 1
},
"metric": "example",
"name": "example",
"value": {
"doubleValue": 1,
"floatValue": 1,
"intValue": "example",
"stringList": {},
"stringValue": "example"
}
}
],
"nextPageToken": "example"
}
}Register a sending domain
Add a sending domain to Postmaster Tools for verification.
Inputs
- Domain name
domain_nametextRequired - The bare domain name, such as example.com.
Outputs
dataobject- The response from Gmail Postmaster Tools.
Example output
{
"data": {
"createTime": "example",
"lastVerifyTime": "example",
"name": "example",
"permission": "example",
"verificationState": "example"
}
}Remove a sending domain
Remove a sending domain from your Postmaster Tools account.
Inputs
- Domain
domaintextRequired - Choose a registered sending domain.
Outputs
dataobject- The response from Gmail Postmaster Tools.
Example output
{
"data": {}
}Verify a sending domain
Ask Google to verify the DNS record for a sending domain.
Inputs
- Domain
domaintextRequired - Choose a registered sending domain.
- Dns record type
dns_record_typetextRequired - Select the DNS record type you published.One of:
TXT,CNAME.
Outputs
dataobject- The response from Gmail Postmaster Tools.
Example output
{
"data": {}
}