---
updatedAt: 2026-05-29T13:25:42.000Z
agentTools:
  projectIndex: https://developer.eftcorp.com/llms.txt
---

# Get a list of the organisation's attachments

Returns all attachments registered against the organisation.

# OpenAPI definition

```json
{
  "servers": [
    {
      "url": "https://eclipse-java-sandbox.ukheshe.rocks",
      "description": "Eclipse sandbox environment"
    },
    {
      "url": "https://ukheshe.live",
      "description": "Eclipse production environment"
    },
    {
      "url": "https://eclipse-java-develop.ukheshe.rocks",
      "description": "Eclipse development environment"
    },
    {
      "url": "https://zw.ukheshe.live",
      "description": "Zim Eclipse production environment"
    }
  ],
  "openapi": "3.1.0",
  "components": {
    "schemas": {
      "EclipseAttachment": {
        "type": "object",
        "properties": {
          "attachmentId": {
            "type": "integer",
            "format": "int64"
          },
          "attachmentType": {
            "type": "string",
            "description": "File name for the attachment.Supported file for pdf,doc,json,text",
            "minLength": 1,
            "maxLength": 200
          },
          "base64EncodedAttachment": {
            "type": "string",
            "description": "Optional base64 Encoded data of the attachment.",
            "minLength": 0,
            "maxLength": 5000000
          },
          "created": {
            "type": "string",
            "format": "date-time",
            "examples": [
              "2022-03-10T12:15:50-04:00"
            ]
          },
          "externalUniqueId": {
            "type": "string",
            "description": "Optional caller-supplied unique reference for this attachment",
            "minLength": 1,
            "maxLength": 200
          },
          "fileName": {
            "type": "string",
            "description": "Optional file name for the attachment",
            "minLength": 5,
            "maxLength": 200
          },
          "info": {
            "type": "string",
            "description": "Optional text data of the attachment.You can pass text and json data in Info",
            "minLength": 1,
            "maxLength": 10000
          },
          "lastModified": {
            "type": "string",
            "format": "date-time",
            "examples": [
              "2022-03-10T12:15:50-04:00"
            ]
          },
          "mediaType": {
            "type": "string",
            "description": "Optional media type of the attachment.Supported media types for application/pdf, image/png or image/jpeg,application/json,text/plain",
            "minLength": 5,
            "maxLength": 20
          }
        },
        "required": [
          "attachmentType"
        ]
      },
      "ExceptionData": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "environment": {
            "type": "string"
          },
          "info": {
            "type": "object",
            "additionalProperties": {}
          },
          "severity": {
            "$ref": "#/components/schemas/ExceptionSeverity"
          },
          "spanId": {
            "type": "string"
          },
          "stackTrace": {
            "type": "string"
          },
          "traceId": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/ExceptionType"
          }
        }
      },
      "ExceptionSeverity": {
        "type": "string",
        "enum": [
          "CRITICAL",
          "HIGH",
          "INFO",
          "LOW",
          "MEDIUM"
        ]
      },
      "ExceptionType": {
        "type": "string",
        "enum": [
          "BUSINESS",
          "SYSTEM"
        ]
      }
    },
    "securitySchemes": {
      "JWTBearerAuthorisation": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "info": {
    "description": "A RESTful API using JSON as the data transfer model, covering all tenant-facing functionality in the Eclipse payments platform.",
    "title": "Eclipse ReST API",
    "version": "3.0.0"
  },
  "tags": [
    {
      "name": "e) Organisation Management",
      "description": "Manage organisations, their members, wallets, positions, documents, terminals, stores, beneficiaries, and cards on file."
    }
  ],
  "paths": {
    "/eclipse-conductor/rest/v1/tenants/{tenantId}/organisations/{organisationId}/attachments": {
      "get": {
        "summary": "Get a list of the organisation's attachments",
        "description": "Returns all attachments registered against the organisation.",
        "tags": [
          "e) Organisation Management"
        ],
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "organisationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "description": "The type of attachment",
            "required": false,
            "name": "attachmentType",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Fields to be included. By default returns all fields. Specify onlyMetaData to receive metadata without document",
            "required": false,
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EclipseAttachment"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExceptionData"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "JWTBearerAuthorisation": []
          }
        ]
      }
    }
  }
}
```