This documentation covers a Beta version of the Postmaster API.

Method: domains.get

Gets a specific domain registered by the client. Returns NOT_FOUND if the domain does not exist.

HTTP request

GET https://gmailpostmastertools.googleapis.com/v1beta1/{name=domains/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The resource name of the domain. It should have the form domains/{domain_name}, where domain_name is the fully qualified domain name.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Domain.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/postmaster.readonly

For more information, see the OAuth 2.0 Overview.

Try it!