Gmail Message Contents - Data API Endpoint

Message Contents by message id, oauth access token and format.


Get bulk Message Contents data from the Gmail API | Official API: https://developers.google.com/gmail/api | 👥  Contributors: steve 🚩  Report

✏️ Inputs

Message ID message_id Required

Message ID

OAuth Access Token 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.

Format format Optional

How much detail to return about each message. Possible values are:

  • full
  • metadata
  • minimal
  • raw

📝 Notes

Get the actual contents of the message.

Posted by steve on June 29, 2022, 6:31 a.m. 🚩  Report

⚡️ Endpoint

GET https://www.googleapis.com/gmail/v1/users/me/messages/{{message_id}}?format={{format}}

Body

None

Headers

Authorization
Bearer {{auth_token}}