---
title: "List all locations"
method: GET
path: "/healthcare/{connection_id}/location"
tags: ["healthcare", "location"]
---

# List all locations

`GET /healthcare/{connection_id}/location`

## Request

- Base URL: `http://api.unified.to`
- URL: `http://api.unified.to/healthcare/{connection_id}/location`
- Auth: API key in header `authorization`

## Path parameters

- `connection_id` string, required

## Query parameters

- `limit` number
- `offset` number
- `updated_gte` string, date-time
- `sort` 'name' | 'updated_at' | 'created_at'
- `order` 'asc' | 'desc'
- `query` string
- `parent_id` string
- `fields` string[]
- `raw` string

## Response `200`

Successful

- HealthcareLocation[]
  - `id` string: Unique identifier for the location
  - `created_at` string, date-time: When the location record was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `updated_at` string, date-time: When the location record was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `name` string: Name of the location
  - `description` string: Description of the location
  - `parent_id` string: The location this one is part of (e.g. a department within a hospital)
  - `organization_name` string: Name of the organization that manages the location
  - `address` HealthcareLocationAddress: Postal address of the location
    - `address1` string: First line of the street address
    - `address2` string: Second line of the street address
    - `city` string: City or locality
    - `region` string: Regional area (e.g., state in the U.S., province in Canada)
    - `postal_code` string: Postal or ZIP code
    - `country` string: Country
  - `telephones` HealthcareTelephone[]: Phone and fax numbers for the location
    - `telephone` string, required: The telephone number
    - `type` 'WORK' | 'HOME' | 'MOBILE' | 'FAX' | 'OTHER': The kind of telephone number (work, home, mobile, fax or other)
  - `emails` HealthcareEmail[]: Email addresses for the location
    - `email` string, required: The email address
    - `type` 'WORK' | 'HOME' | 'OTHER': The kind of email address (work, home or other)
  - `latitude` number: Latitude of the location
  - `longitude` number: Longitude of the location
  - `identifiers` HealthcareIdentifier[]: Business identifiers for the location
    - `value` string, required: The identifier value
    - `type` 'MRN' | 'NPI' | 'SSN' | 'DRIVERS_LICENSE' | 'PASSPORT' | 'INSURANCE' | 'OTHER': The kind of identifier
    - `system` string: The namespace/system URI that issued the identifier
  - `is_active` boolean: Whether the location is in active use
  - `metadata` HealthcareMetadata[]: Custom field values
    - `id` string: Identifier of the custom field
    - `value` unknown
    - `namespace` string: The scope or origin of the custom field
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'ARRAY' | 'OBJECT': The data type of the value
    - `extra_data` unknown
    - `slug` string: The custom field key
  - `raw` unknown

---

[API](https://skmtc.dev/unified/apis/unified-to-api-2.md) · [All operations](https://skmtc.dev/unified/apis/unified-to-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/unified/apis/unified-to-api-2/revisions/7a38bdd7f089?raw)
