Lists the domains that have been registered by the client. The order of domains in the response is unspecified and non-deterministic. Newly created domains will not necessarily be added to the end of this list.
HTTP request
GET https://gmailpostmastertools.googleapis.com/v1/domains
Requested page size. Server may return fewer domains than requested. If unspecified, server will pick an appropriate default.
pageToken
string
The nextPageToken value returned from a previous List request, if any. This is the value of ListDomainsResponse.next_page_token returned from the previous call to domains.list method.
Request body
The request body must be empty.
Response body
Response message for domains.list.
If successful, the response body contains data with the following structure:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-04 UTC."],[[["Lists domains registered by the client, with an unspecified order."],["Allows pagination using `pageSize` and `pageToken` query parameters."],["Requires `https://www.googleapis.com/auth/postmaster.readonly` authorization scope for access."],["Returns a list of domains and a token for retrieving the next page if available."],["The request body should be empty for this `GET` request to the specified endpoint."]]],["This document details how to list registered domains via an API. A `GET` request is sent to `https://gmailpostmastertools.googleapis.com/v1/domains` with an empty request body. Optional `pageSize` and `pageToken` query parameters control pagination. The response contains a list of `domains` and a `nextPageToken` for subsequent pages. The response body's JSON representation outlines its structure. Access requires the `https://www.googleapis.com/auth/postmaster.readonly` authorization scope.\n"]]