# Get an attachment

**GET /v1/attachments/{id}**

This operation uses content negotiation to request either a JSON representation of the attachment, or the actual document. Check the OpenAPI specification for more details.

**Scope**: `attachments:read`


## Servers
- Production: https://api.memo.bank (Production)
- Sandbox: https://api.sandbox.memo.bank (Sandbox)



## Parameters

### Path parameters

- **id** (string(uuid))
  ID of the attachment.




## Responses
### 200
OK

#### Body: application/json (object)
- **id** (string(uuid))
  ID of the attachment.

- **transaction_id** (string(uuid))
  ID of the transaction this document is attached to.

- **filename** (string)
  Name of the attached file.

- **size** (integer(int64))
  Size of the attached file in bytes.

- **mime_type** (string)
  Mime type of the attached file.

- **date** (string(date-time))
  Date at which the file has been attached to a transaction.

- **is_deleted** (boolean)
  Whether or not this attachment has been deleted.



[Powered by Bump.sh](https://bump.sh)
