Users.settings.filters: create

Requires authorization

Creates a filter. Try it now.

Request

HTTP request

POST https://www.googleapis.com/gmail/v1/users/userId/settings/filters

Parameters

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

Authorization

This request requires authorization with the following scope (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/gmail.settings.basic

Request body

In the request body, supply a Users.settings.filters resource.

Response

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

Try it!

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

Enviar comentarios sobre…

¿Necesitas ayuda? Visita nuestra página de asistencia.