---
title: "Find Relationship"
method: GET
path: "/tree/persons/{pid}/relationships/{opid}"
tags: ["Relationships"]
---

# Find Relationship

`GET /tree/persons/{pid}/relationships/{opid}`

The Relationship Finder resource is used to find how two persons in the tree are related.  For finding how the currently logged in
user is related to a person in the tree, pass in "CURRENT" for the first person Id. The later option requires an authenticated session.  To determine
which of the persons returned is the common ancestor the <fs:displayProperties> element will
contain a  "role" field that contains "commonAncestor" as a value.

## Path parameters

- `pid` string, required
- `opid` string, required

## Query parameters

- `personDetails` string

## Headers

- `Accept` 'application/x-fs-v1+json' | 'application/x-gedcomx-v1+json' | 'application/json', required

## Response `200`

The read was successful. See <a href="https://developers.familysearch.org/main/docs/json-schema#person" target="_blank">Person Schema (JSON)</a>

## Other responses

- `204` — Upon a successful query with no results.
- `400` — If the query to be processed was unable to be understood by the application.
- `429` — The request was throttled.

---

[API](https://skmtc.net/familysearch/apis/authentication-endpoints.md) · [All operations](https://skmtc.net/familysearch/apis/authentication-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/familysearch/authentication-endpoints/revisions/2b5020574a62/schema)
