v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-137956179.1 KB
users

Creates a forwarding address. If ownership verification is required, a message will be sent to the recipient and the resource's verification status will be set to pending; otherwise, the resource will be created with verification status set to accepted. For more information, see Manage email forwarding. This method is only available to service account clients that have been delegated domain-wide authority.

post/gmail/v1/users/{userId}/settings/forwardingAddresses

Path parameters

userIdstring required

User's email address. The special value "me" can be used to indicate the authenticated user.

Request body

forwardingEmailstring

An email address to which messages can be forwarded.

verificationStatus'verificationStatusUnspecified' | 'accepted' | 'pending'

Indicates whether this address has been verified and is usable for forwarding. Read-only.

Response

Successful response