List the messages of your inbox.
auth_token
Required
OAuth access token for the Gmail account owning the inbox you’d like to get the messages for. Get your own OAuth token using the Google OAuth Playground. We suggest using the https://www.googleapis.com/auth/gmail.readonly
scope.
pagination_token
Optional
Used for pagination.
query
Optional
Search for messages in your inbox, from Google:
Only return messages matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser@example.com rfc822msgid:<somemsgid@example.com> is:unread”. Parameter cannot be used when accessing the api using the gmail.metadata scope.
/gmail/v1/users/me/messages
?pageToken={{ pagination_token }}&q={{ query }}
Body
Headers
Bearer {{auth_token}}