Capability Sources
Download a Gmail attachment's bytes as the calling member
Downloads one Gmail attachment (file) as base64-encoded bytes, using the messageId and the attachmentId from the gmail-message capability's attachments metadata. Decode dataBase64 locally to reconstruct the file, e.g. a PDF or spreadsheet, then extract its contents.
get/v1/capabilities/google-workspace/gmail-attachment/{messageId}/{attachmentId}
Path parameters
messageIdstring required
Gmail message id that contains the attachment.
attachmentIdstring required
Attachment id from the gmail-message capability's attachments metadata.
Response
Gmail attachment returned.
Changes
No recorded changes to this endpoint across all 25 revisions of this API.