Method: spaces.messages.attachments.get

Gets the metadata of a message attachment. The attachment data is fetched using the media API. For an example, see Get a message attachment. Requires service account authentication.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. Resource name of the attachment, in the form spaces/*/messages/*/attachments/*.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Attachment.

Authorization scopes

Requires the following OAuth scope:


For more information, see the Authorization guide.