Capability Sources
List or search Gmail drafts
Changed onReturns one page of drafts and the actual nextPageToken, if any. Pass it as pageToken for the next page. Requires gmail.readonly, gmail.compose or gmail.modify. Uses only the calling member's selected connected Google account. Perform writes only when explicitly requested by the user; capability discovery or selection is not authorization. Never automatically retry an uncertain write.
get/v1/capabilities/google-workspace/gmail-drafts
Request
- Base URLhttps://api.openworklabs.com
- URLhttps://api.openworklabs.com/v1/capabilities/google-workspace/gmail-drafts
- Auth
- API key in header x-api-key
- or HTTP bearer
Query parameters
qstring
maxResultsinteger
pageTokenstring
includeSpamTrash'true' | 'false'
Response
Google's validated response.
Changes
- info
response property
details/items/path/items/list-of-types was narrowed by removing typesnumberfrom media typeapplication/jsonof response400
- info
- info
added the optional property
to the response with the status
- info