# Get investment details by ID

> Retrieves details about a specific investment by its unique identifier

Źródło: https://propertly.io/dokumentacja/api/inwestycje/get-investment
Ostatnia aktualizacja: 2026-10-15

`GET https://headless-cms.propertly.io/api/v1/investments/{investment_id}`

Retrieves details about a specific investment by its unique identifier

Wymaga nagłówka `Authorization: <klucz API>`. Odwołania `$ref` wskazują na `components` w specyfikacji OpenAPI: https://propertly.io/openapi.json

```json
{
  "tags": [
    "Investments"
  ],
  "summary": "Get investment details by ID",
  "description": "Retrieves details about a specific investment by its unique identifier",
  "operationId": "get_investment_api_v1_investments__investment_id__get",
  "security": [
    {
      "APIKeyHeader": []
    }
  ],
  "parameters": [
    {
      "name": "investment_id",
      "in": "path",
      "required": true,
      "schema": {
        "type": "string",
        "format": "uuid",
        "title": "Investment Id"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "Successful response with investment details",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/InvestmentDto"
          },
          "example": {
            "investment_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
            "webpage_id": "a2f6c08c-8dd7-4b11-a2e7-4c3182d28aac",
            "organization_id": "a8098c1a-f86e-11da-bd1a-00112444be1e",
            "name": "Osiedle Słoneczne",
            "description": "Nowoczesne osiedle mieszkaniowe w centrum miasta z pełną infrastrukturą.",
            "is_active": true
          }
        }
      }
    },
    "401": {
      "description": "Unauthorized",
      "content": {
        "application/json": {
          "examples": {
            "MissingKey": {
              "summary": "No key provided",
              "value": {
                "detail": "API key is required"
              }
            },
            "InvalidKey": {
              "summary": "Invalid key",
              "value": {
                "detail": "Invalid API key"
              }
            },
            "InactiveKey": {
              "summary": "Inactive key",
              "value": {
                "detail": "API key is not active"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Investment not found"
    },
    "422": {
      "description": "Validation Error",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      }
    }
  }
}
```
