Persons
Create Person
Create a person.
post/tree/persons
Request
- Base URLhttps://apibeta.familysearch.org/platform
- URLhttps://apibeta.familysearch.org/platform/tree/persons
- AuthHTTP bearer
Headers
Content-Type'application/x-fs-v1+json' | 'application/x-gedcomx-v1+json' | 'application/x-fs-v1+xml' | 'application/x-gedcomx-v1+xml' required
Specifies the media type of the entity-body sent to the server in the request.
X-Reasonstring
The reason for creating the person.
Request body
Example request
{
"persons": [
{
"gender": {
"type": "http://gedcomx.org/Male"
},
"names": [
{
"type": "http://gedcomx.org/BirthName",
"preferred": true,
"nameForms": [
{
"fullText": "John Smith",
"parts": [
{
"type": "http://gedcomx.org/Given",
"value": "John"
}
]
}
]
}
],
"facts": [
{
"type": "http://gedcomx.org/Birth",
"date": {
"original": "3 Apr 1836",
"formal": "+1836-04-03"
},
"place": {
"original": "Kirtland, Ohio, United States"
}
}
]
}
]
}Response
The creation of the person was successful. Expect a location header specifying the link to the created person.
Changes
No recorded changes to this operation across all 1 revision of this API.