# Create an attachment **POST /v2/attachments** This operation allows you to upload and attach a document to a transaction. ## Servers - Production: https://api.memo.bank (Production) - Sandbox: https://api.sandbox.memo.bank (Sandbox) ## Authentication methods - Jwt ## Parameters ## Body parameters Content-type: multipart/form-data - **document** (string(binary)) - **transaction_id** (string(uuid)) ID of the transaction the document will be attached to. ## Responses ### 201: Created #### Body Parameters: 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)