---
title: "Get all relationship data for a practitioner"
method: GET
path: "/practitioners/{id}/relationships/all"
tags: ["Practitioner"]
---

# Get all relationship data for a practitioner

`GET /practitioners/{id}/relationships/all`

Returns all relationship data for the specified practitioner. The response format depends on the `transformed` query parameter: when `false` (default), the response is a raw nested relationship structure; when `true`, it is a flattened format with deduplicated networks, groups, locations, specialties, and related metadata. Use this when you need a comprehensive view of a practitioner's entire relationship graph; for individual relationship types, use the more targeted `/relationships/groups`, `/relationships/locations`, or `/relationships/networks` endpoints instead. `{id}` is the `certifyPractitionerId`.

## Path parameters

- `id` string, required

## Query parameters

- `transformed` boolean

## Headers

- `tenant-id` string

## Response `200`

All the relationships that the practitioner belongs to successfully retrieved. Response structure varies based on the 'transformed' parameter: When transformed=false, returns raw data with nested structure containing tenantPractitionerId, tenantPractitionerSpecialties, and groupMemberships. When transformed=true, returns a transformed structure with flattened arrays: networks, groups, groupLocations, groupSpecialties, practitionerSpecialties, networksPlansData, locationsGroupsData, specialtiesData, groupsData, and groupMemberships.

- object — Response structure depends on the 'transformed' query parameter. When transformed=false: returns JsonNode with nested structure containing 'data' with tenantPractitionerId, tenantPractitionerSpecialties, and groupMemberships. When transformed=true: returns TransformedPractitionerRelationships with flattened structure with top-level arrays (networks, groups, groupLocations, groupSpecialties, practitionerSpecialties, networksPlansData, locationsGroupsData, specialtiesData, groupsData, groupMemberships).

## Other responses

- `401` — Unauthorized - Authentication required
- `403` — Forbidden - Insufficient permissions
- `404` — Practitioner not found with the given source type and crosswalk ID for tenant
- `500` — Internal server error

---

[API](https://skmtc.net/certifyos/apis/certify-api-layer.md) · [All operations](https://skmtc.net/certifyos/apis/certify-api-layer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/certifyos/certify-api-layer/revisions/563848e0ecc0/schema)
