---
title: "Create Relationship"
method: POST
path: "/tree/relationships"
tags: ["Relationships"]
---

# Create Relationship

`POST /tree/relationships`

Create a couple relationship or parent and child relationships.

## Headers

- `Content-Type` 'application/x-gedcomx-v1+json' | 'application/x-gedcomx-v1+xml' | 'application/x-fs-v1+json' | 'application/x-fs-v1+xml', required
- `X-Reason` string

## Response `201`

The creation of the relationship was successful. Expect a Location header specifying the link to the created relationship.

## Other responses

- `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)
