# Get branch details by ID

> Retrieves details about a specific branch by its unique identifier

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

`GET https://headless-cms.propertly.io/api/v1/branches/{branch_id}`

Retrieves details about a specific branch 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": [
    "Branches"
  ],
  "summary": "Get branch details by ID",
  "description": "Retrieves details about a specific branch by its unique identifier",
  "operationId": "get_branch_api_v1_branches__branch_id__get",
  "security": [
    {
      "APIKeyHeader": []
    }
  ],
  "parameters": [
    {
      "name": "branch_id",
      "in": "path",
      "required": true,
      "schema": {
        "type": "string",
        "format": "uuid",
        "title": "Branch Id"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "Successful response with branch details",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/BranchDto"
          },
          "example": {
            "branch_id": "c33b31ae-747a-4366-ae86-5f399e2daa5e",
            "webpage_id": "a2f6c08c-8dd7-4b11-a2e7-4c3182d28aac",
            "organization_id": "a8098c1a-f86e-11da-bd1a-00112444be1e",
            "name": "Propertly Warszawa",
            "description": "Oddział w Warszawie oferujący pełen zakres usług nieruchomościowych.",
            "address": "ul. Warszawska 1, 00-001 Warszawa",
            "cover_image_url": "https://cdn.propertly.io/app/branches/c33b31ae-747a-4366-ae86-5f399e2daa5e/cover.jpg",
            "logo_url": "https://cdn.propertly.io/app/branches/c33b31ae-747a-4366-ae86-5f399e2daa5e/logo.png",
            "email": "warszawa@propertly.pl",
            "phone_number": "+48 123 456 789",
            "open_time": {
              "monday": [
                {
                  "from_time": "09:00",
                  "to_time": "17:00"
                }
              ],
              "tuesday": [
                {
                  "from_time": "09:00",
                  "to_time": "17:00"
                }
              ],
              "wednesday": [
                {
                  "from_time": "09:00",
                  "to_time": "17:00"
                }
              ],
              "thursday": [
                {
                  "from_time": "09:00",
                  "to_time": "17:00"
                }
              ],
              "friday": [
                {
                  "from_time": "09:00",
                  "to_time": "17:00"
                }
              ],
              "saturday": [],
              "sunday": []
            },
            "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
            }
          }
        }
      }
    },
    "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": "Branch not found"
    },
    "422": {
      "description": "Validation Error",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      }
    }
  }
}
```
