downloadBytes

public final ByteArray downloadBytes(String identifier, String attachmentId, FindAttachmentQueryParams queryParams, RequestOverrides overrides)
public final ByteArray downloadBytes(String identifier, String attachmentId, FindAttachmentQueryParams queryParams)

Download the attachment as a byte array

Return

The raw file data

Parameters

identifier

Grant ID or email account to query

attachmentId

The id of the attachment to download.

queryParams

The query parameters to include in the request

overrides

Optional request overrides to apply