# Get organization details

> Retrieves details about the organization associated with the authenticated website

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

`GET https://headless-cms.propertly.io/api/v1/organization`

Retrieves details about the organization associated with the authenticated website

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

```json
{
  "tags": [
    "Organizations"
  ],
  "summary": "Get organization details",
  "description": "Retrieves details about the organization associated with the authenticated website",
  "operationId": "get_organization_api_v1_organization_get",
  "responses": {
    "200": {
      "description": "Successful response with organization details",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/OrganizationDto"
          },
          "example": {
            "organization_id": "a8098c1a-f86e-11da-bd1a-00112444be1e",
            "name": "Propertly.io",
            "legal_name": "Propertly.io Sp. z o.o.",
            "nip": "1234567890",
            "logo_url": "https://cdn.propertly.io/app/organizations/a8098c1a-f86e-11da-bd1a-00112444be1e/logo.png",
            "address": "ul. Warszawska 1, 00-001 Warszawa",
            "website": "https://propertly.io",
            "phone_number": "+48 123 456 789",
            "description": "Innowacyjna platforma do zarządzania nieruchomościami",
            "cover_image_url": "https://cdn.propertly.io/app/organizations/a8098c1a-f86e-11da-bd1a-00112444be1e/cover.jpg",
            "location": {
              "address_city": "Warszawa",
              "address_community": "Warszawa",
              "address_country": "Polony",
              "address_county": "Warszawa",
              "address_district": "Warszawa",
              "address_subdistrict": "Warszawa",
              "address_state": "Warszawa",
              "address_street": "Warszawa",
              "address_street_number": "Warszawa",
              "address_flat_number": "Warszawa",
              "address_zip_code": "Warszawa",
              "community_type": "Warszawa",
              "location_latitude": 52.2297,
              "location_longitude": 21.0122,
              "location_approximation": 0
            },
            "social_media_links": [
              "https://facebook.com/propertly",
              "https://linkedin.com/company/propertly",
              "https://twitter.com/propertly"
            ],
            "contact_email": "kontakt@propertly.io"
          }
        }
      }
    },
    "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": "Organization not found"
    },
    "422": {
      "description": "Validation Error",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      }
    }
  },
  "security": [
    {
      "APIKeyHeader": []
    }
  ]
}
```
