G
Gmail API
Details
- URL
-
https://gmail.googleapis.com/gmail/v1 - Docs
- https://developers.google.com/gmail/api
Authentication
Authorization: Bearer <credential> Create a Google Cloud project, enable the Gmail API, configure the OAuth consent screen, then create an OAuth client ID in Create access credentials. For web-server access patterns, follow Implement server-side authorization and request the Gmail scopes your app needs from Choose scopes.
?key=<credential> In Create access credentials, create an API key for your Google Cloud project after enabling the Gmail API. Google documents it as the key query parameter for requests when an OAuth 2.0 token is not provided; Gmail methods that access mailbox data still generally require OAuth scopes, so use this mainly where the API method permits project identification/quota without user data access.