---
title: "Create Child and Parents Source Reference"
method: POST
path: "/tree/child-and-parents-relationships/{caprid}/source-references"
tags: ["Sources"]
---

# Create Child and Parents Source Reference

`POST /tree/child-and-parents-relationships/{caprid}/source-references`

## Request

- Base URL: `https://apibeta.familysearch.org/platform`
- URL: `https://apibeta.familysearch.org/platform/tree/child-and-parents-relationships/{caprid}/source-references`
- Auth: HTTP bearer

Create a source reference attached to a child and parents relationship.

## Path parameters

- `caprid` string, required

## Headers

- `X-Reason` string

## Request body

- CreateChildAndParentsRelationshipSourceReference
  - `childAndParentsRelationships` object[], required: Array containing the child-and-parents relationship with source references to attach. See <a href="https://developers.familysearch.org/main/docs/json-schema#childandparentsrelationship" target="_blank">ChildAndParentsRelationship Schema (JSON)</a>
    - `sources` object[]: Source references to attach to the child-and-parents relationship. See <a href="https://developers.familysearch.org/main/docs/json-schema#sourcereference" target="_blank">SourceReference Schema (JSON)</a>
      - `description` string, required: The ID of the source description. To find source description IDs, see <a href="/reference/readusersourcedescriptions" target="_blank">Read User Source Descriptions</a>, or <a href="/reference/createsourcedescription" target="_blank">Create Source Description</a> to create a new source description.

## Response `201`

The creation of the source reference was successful. Expect a location header specifying the link to the created source reference.

## Other responses

- `400`: If the request was unable to be understood by the application.
- `404`: The specified person has been moved, deleted, or otherwise not found.
- `429`: The request was throttled.

---

[API](https://skmtc.dev/familysearch/apis/family-tree-endpoints.md) - [All operations](https://skmtc.dev/familysearch/apis/family-tree-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/familysearch/apis/family-tree-endpoints/revisions/e248abd029e6?raw)
