Users.settings.sendAs: get

Requires authorization

Gets the specified send-as alias. Fails with an HTTP 404 error if the specified address is not a member of the collection. Try it now.

Request

HTTP request

GET https://www.googleapis.com/gmail/v1/users/userId/settings/sendAs/sendAsEmail

Parameters

Parameter name Value Description
Path parameters
sendAsEmail string The send-as alias to be retrieved.
userId string User's email address. The special value "me" can be used to indicate the authenticated user.

Authorization

This request requires authorization with at least one of the following scopes (read more about authentication and authorization).

Scope
https://mail.google.com/
https://www.googleapis.com/auth/gmail.modify
https://www.googleapis.com/auth/gmail.readonly
https://www.googleapis.com/auth/gmail.settings.basic

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a Users.settings.sendAs resource in the response body.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.

フィードバックを送信...

ご不明な点がありましたら、Google のサポートページをご覧ください。