Search Link: https://www.google.com/search?channel=fs&client=ubuntu-sn&q=postman+collection+35240-0d073c40-6ad8-43d0-8baf-8ee3606819e0

Overview

GET /gmail/v1/users/{userId}/drafts/{id}

Summary: gmail.users.drafts.get

Gets the specified draft.


PUT /gmail/v1/users/{userId}/drafts/{id}

Summary: gmail.users.drafts.update

Replaces a draft’s content.


DELETE /gmail/v1/users/{userId}/drafts/{id}

Summary: gmail.users.drafts.delete

Immediately and permanently deletes the specified draft. Does not simply trash it.


PARAMETERS /gmail/v1/users/{userId}/drafts/{id}


GET /gmail/v1/users/{userId}/drafts

Summary: gmail.users.drafts.list

Lists the drafts in the user’s mailbox.


POST /gmail/v1/users/{userId}/drafts

Summary: gmail.users.drafts.create

Creates a new draft with the DRAFT label.


PARAMETERS /gmail/v1/users/{userId}/drafts


POST /gmail/v1/users/{userId}/drafts/send

Summary: gmail.users.drafts.send

Sends the specified, existing draft to the recipients in the To, Cc, and Bcc headers.


PARAMETERS /gmail/v1/users/{userId}/drafts/send


GET /gmail/v1/users/{userId}/labels/{id}

Summary: gmail.users.labels.get

Gets the specified label.


PUT /gmail/v1/users/{userId}/labels/{id}

Summary: gmail.users.labels.update

Updates the specified label.


DELETE /gmail/v1/users/{userId}/labels/{id}

Summary: gmail.users.labels.delete

Immediately and permanently deletes the specified label and removes it from any messages and threads that it is applied to.


PATCH /gmail/v1/users/{userId}/labels/{id}

Summary: gmail.users.labels.patch

Patch the specified label.


PARAMETERS /gmail/v1/users/{userId}/labels/{id}


GET /gmail/v1/users/{userId}/labels

Summary: gmail.users.labels.list

Lists all labels in the user’s mailbox.


POST /gmail/v1/users/{userId}/labels

Summary: gmail.users.labels.create

Creates a new label.


PARAMETERS /gmail/v1/users/{userId}/labels


GET /gmail/v1/users/{userId}/messages/{id}

Summary: gmail.users.messages.get

Gets the specified message.


DELETE /gmail/v1/users/{userId}/messages/{id}

Summary: gmail.users.messages.delete

Immediately and permanently deletes the specified message. This operation cannot be undone. Prefer messages.trash instead.


PARAMETERS /gmail/v1/users/{userId}/messages/{id}


POST /gmail/v1/users/{userId}/messages/{id}/modify

Summary: gmail.users.messages.modify

Modifies the labels on the specified message.


PARAMETERS /gmail/v1/users/{userId}/messages/{id}/modify


POST /gmail/v1/users/{userId}/messages/{id}/trash

Summary: gmail.users.messages.trash

Moves the specified message to the trash.


PARAMETERS /gmail/v1/users/{userId}/messages/{id}/trash


POST /gmail/v1/users/{userId}/messages/{id}/untrash

Summary: gmail.users.messages.untrash

Removes the specified message from the trash.


PARAMETERS /gmail/v1/users/{userId}/messages/{id}/untrash


GET /gmail/v1/users/{userId}/messages

Summary: gmail.users.messages.list

Lists the messages in the user’s mailbox.


POST /gmail/v1/users/{userId}/messages

Summary: gmail.users.messages.insert

Directly inserts a message into only this user’s mailbox similar to IMAP APPEND, bypassing most scanning and classification. Does not send a message.


PARAMETERS /gmail/v1/users/{userId}/messages


POST /gmail/v1/users/{userId}/messages/batchDelete

Summary: gmail.users.messages.batch Delete

Deletes many messages by message ID. Provides no guarantees that messages were not already deleted or even existed at all.


PARAMETERS /gmail/v1/users/{userId}/messages/batchDelete


POST /gmail/v1/users/{userId}/messages/batchModify

Summary: gmail.users.messages.batch Modify

Modifies the labels on the specified messages.


PARAMETERS /gmail/v1/users/{userId}/messages/batchModify


POST /gmail/v1/users/{userId}/messages/import

Summary: gmail.users.messages.import

Imports a message into only this user’s mailbox, with standard email delivery scanning and classification similar to receiving via SMTP. Does not send a message. Note: This function doesn’t trigger forwarding rules or filters set up by the user.


PARAMETERS /gmail/v1/users/{userId}/messages/import


POST /gmail/v1/users/{userId}/messages/send

Summary: gmail.users.messages.send

Sends the specified message to the recipients in the To, Cc, and Bcc headers.


PARAMETERS /gmail/v1/users/{userId}/messages/send


GET /gmail/v1/users/{userId}/messages/{messageId}/attachments/{id}

Summary: gmail.users.messages.attachments.get

Gets the specified message attachment.


PARAMETERS /gmail/v1/users/{userId}/messages/{messageId}/attachments/{id}


GET /gmail/v1/users/{userId}/settings/autoForwarding

Summary: gmail.users.settings.get Auto Forwarding

Gets the auto-forwarding setting for the specified account.


PUT /gmail/v1/users/{userId}/settings/autoForwarding

Summary: gmail.users.settings.update Auto Forwarding

Updates the auto-forwarding setting for the specified account. A verified forwarding address must be specified when auto-forwarding is enabled. This method is only available to service account clients that have been delegated domain-wide authority.


PARAMETERS /gmail/v1/users/{userId}/settings/autoForwarding


GET /gmail/v1/users/{userId}/settings/delegates/{delegateEmail}

Summary: gmail.users.settings.delegates.get

Gets the specified delegate. Note that a delegate user must be referred to by their primary email address, and not an email alias. This method is only available to service account clients that have been delegated domain-wide authority.


DELETE /gmail/v1/users/{userId}/settings/delegates/{delegateEmail}

Summary: gmail.users.settings.delegates.delete

Removes the specified delegate (which can be of any verification status), and revokes any verification that may have been required for using it. Note that a delegate user must be referred to by their primary email address, and not an email alias. This method is only available to service account clients that have been delegated domain-wide authority.


PARAMETERS /gmail/v1/users/{userId}/settings/delegates/{delegateEmail}


GET /gmail/v1/users/{userId}/settings/delegates

Summary: gmail.users.settings.delegates.list

Lists the delegates for the specified account. This method is only available to service account clients that have been delegated domain-wide authority.


POST /gmail/v1/users/{userId}/settings/delegates

Summary: gmail.users.settings.delegates.create

Adds a delegate with its verification status set directly to accepted, without sending any verification email. The delegate user must be a member of the same G Suite organization as the delegator user. Gmail imposes limitations on the number of delegates and delegators each user in a G Suite organization can have. These limits depend on your organization, but in general each user can have up to 25 delegates and up to 10 delegators. Note that a delegate user must be referred to by their primary email address, and not an email alias. Also note that when a new delegate is created, there may be up to a one minute delay before the new delegate is available for use. This method is only available to service account clients that have been delegated domain-wide authority.


PARAMETERS /gmail/v1/users/{userId}/settings/delegates


GET /gmail/v1/users/{userId}/settings/filters/{id}

Summary: gmail.users.settings.filters.get

Gets a filter.


DELETE /gmail/v1/users/{userId}/settings/filters/{id}

Summary: gmail.users.settings.filters.delete

Deletes a filter.


PARAMETERS /gmail/v1/users/{userId}/settings/filters/{id}


GET /gmail/v1/users/{userId}/settings/filters

Summary: gmail.users.settings.filters.list

Lists the message filters of a Gmail user.


POST /gmail/v1/users/{userId}/settings/filters

Summary: gmail.users.settings.filters.create

Creates a filter. Note: you can only create a maximum of 1,000 filters.


PARAMETERS /gmail/v1/users/{userId}/settings/filters


GET /gmail/v1/users/{userId}/settings/forwardingAddresses/{forwardingEmail}

Summary: gmail.users.settings.forwarding Addresses.get

Gets the specified forwarding address.


DELETE /gmail/v1/users/{userId}/settings/forwardingAddresses/{forwardingEmail}

Summary: gmail.users.settings.forwarding Addresses.delete

Deletes the specified forwarding address and revokes any verification that may have been required. This method is only available to service account clients that have been delegated domain-wide authority.


PARAMETERS /gmail/v1/users/{userId}/settings/forwardingAddresses/{forwardingEmail}


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

Summary: gmail.users.settings.forwarding Addresses.list

Lists the forwarding addresses for the specified account.


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

Summary: gmail.users.settings.forwarding Addresses.create

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. This method is only available to service account clients that have been delegated domain-wide authority.


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


GET /gmail/v1/users/{userId}/settings/imap

Summary: gmail.users.settings.get Imap

Gets IMAP settings.


PUT /gmail/v1/users/{userId}/settings/imap

Summary: gmail.users.settings.update Imap

Updates IMAP settings.


PARAMETERS /gmail/v1/users/{userId}/settings/imap


GET /gmail/v1/users/{userId}/settings/language

Summary: gmail.users.settings.get Language

Gets language settings.


PUT /gmail/v1/users/{userId}/settings/language

Summary: gmail.users.settings.update Language

Updates language settings. If successful, the return object contains the displayLanguage that was saved for the user, which may differ from the value passed into the request. This is because the requested displayLanguage may not be directly supported by Gmail but have a close variant that is, and so the variant may be chosen and saved instead.


PARAMETERS /gmail/v1/users/{userId}/settings/language


GET /gmail/v1/users/{userId}/settings/pop

Summary: gmail.users.settings.get Pop

Gets POP settings.


PUT /gmail/v1/users/{userId}/settings/pop

Summary: gmail.users.settings.update Pop

Updates POP settings.


PARAMETERS /gmail/v1/users/{userId}/settings/pop


GET /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}

Summary: gmail.users.settings.send As.smime Info.get

Gets the specified S/MIME config for the specified send-as alias.


DELETE /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}

Summary: gmail.users.settings.send As.smime Info.delete

Deletes the specified S/MIME config for the specified send-as alias.


PARAMETERS /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}


POST /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}/setDefault

Summary: gmail.users.settings.send As.smime Info.set Default

Sets the default S/MIME config for the specified send-as alias.


PARAMETERS /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}/setDefault


GET /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo

Summary: gmail.users.settings.send As.smime Info.list

Lists S/MIME configs for the specified send-as alias.


POST /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo

Summary: gmail.users.settings.send As.smime Info.insert

Insert (upload) the given S/MIME config for the specified send-as alias. Note that pkcs12 format is required for the key.


PARAMETERS /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo


GET /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}

Summary: gmail.users.settings.send As.get

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


PUT /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}

Summary: gmail.users.settings.send As.update

Updates a send-as alias. If a signature is provided, Gmail will sanitize the HTML before saving it with the alias. Addresses other than the primary address for the account can only be updated by service account clients that have been delegated domain-wide authority.


DELETE /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}

Summary: gmail.users.settings.send As.delete

Deletes the specified send-as alias. Revokes any verification that may have been required for using it. This method is only available to service account clients that have been delegated domain-wide authority.


PATCH /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}

Summary: gmail.users.settings.send As.patch

Patch the specified send-as alias.


PARAMETERS /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}


POST /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/verify

Summary: gmail.users.settings.send As.verify

Sends a verification email to the specified send-as alias address. The verification status must be pending. This method is only available to service account clients that have been delegated domain-wide authority.


PARAMETERS /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/verify


GET /gmail/v1/users/{userId}/settings/sendAs

Summary: gmail.users.settings.send As.list

Lists the send-as aliases for the specified account. The result includes the primary send-as address associated with the account as well as any custom “from” aliases.


POST /gmail/v1/users/{userId}/settings/sendAs

Summary: gmail.users.settings.send As.create

Creates a custom “from” send-as alias. If an SMTP MSA is specified, Gmail will attempt to connect to the SMTP service to validate the configuration before creating the alias. If ownership verification is required for the alias, a message will be sent to the email address and the resource’s verification status will be set to pending; otherwise, the resource will be created with verification status set to accepted. If a signature is provided, Gmail will sanitize the HTML before saving it with the alias. This method is only available to service account clients that have been delegated domain-wide authority.


PARAMETERS /gmail/v1/users/{userId}/settings/sendAs


GET /gmail/v1/users/{userId}/settings/vacation

Summary: gmail.users.settings.get Vacation

Gets vacation responder settings.


PUT /gmail/v1/users/{userId}/settings/vacation

Summary: gmail.users.settings.update Vacation

Updates vacation responder settings.


PARAMETERS /gmail/v1/users/{userId}/settings/vacation


GET /gmail/v1/users/{userId}/threads/{id}

Summary: gmail.users.threads.get

Gets the specified thread.


DELETE /gmail/v1/users/{userId}/threads/{id}

Summary: gmail.users.threads.delete

Immediately and permanently deletes the specified thread. This operation cannot be undone. Prefer threads.trash instead.


PARAMETERS /gmail/v1/users/{userId}/threads/{id}


POST /gmail/v1/users/{userId}/threads/{id}/modify

Summary: gmail.users.threads.modify

Modifies the labels applied to the thread. This applies to all messages in the thread.


PARAMETERS /gmail/v1/users/{userId}/threads/{id}/modify


POST /gmail/v1/users/{userId}/threads/{id}/trash

Summary: gmail.users.threads.trash

Moves the specified thread to the trash.


PARAMETERS /gmail/v1/users/{userId}/threads/{id}/trash


POST /gmail/v1/users/{userId}/threads/{id}/untrash

Summary: gmail.users.threads.untrash

Removes the specified thread from the trash.


PARAMETERS /gmail/v1/users/{userId}/threads/{id}/untrash


GET /gmail/v1/users/{userId}/threads

Summary: gmail.users.threads.list

Lists the threads in the user’s mailbox.


PARAMETERS /gmail/v1/users/{userId}/threads


GET /gmail/v1/users/{userId}/history

Summary: gmail.users.history.list

Lists the history of all changes to the given mailbox. History results are returned in chronological order (increasing historyId).


PARAMETERS /gmail/v1/users/{userId}/history


GET /gmail/v1/users/{userId}/profile

Summary: gmail.users.get Profile

Gets the current user’s Gmail profile.


PARAMETERS /gmail/v1/users/{userId}/profile


POST /gmail/v1/users/{userId}/stop

Summary: gmail.users.stop

Stop receiving push notifications for the given user mailbox.


PARAMETERS /gmail/v1/users/{userId}/stop


POST /gmail/v1/users/{userId}/watch

Summary: gmail.users.watch

Set up or update a push notification watch on the given user mailbox.


PARAMETERS /gmail/v1/users/{userId}/watch