---
updatedAt: 2026-08-03T18:15:49.000Z
agentTools:
  projectIndex: https://developers.familysearch.org/main/llms.txt
---

# Compose Full Name

Compose a full name from its parts.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Standards Endpoints",
    "description": "The FamilySearch API is a RESTful Web service that can be used to enable your apps to read and write data in various FamilySearch resources.",
    "contact": {
      "name": "FamilySearch Platform API Team",
      "url": "https://www.familysearch.org/developers",
      "email": "devsupport@familysearch.org"
    },
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0"
    },
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://apibeta.familysearch.org/platform",
      "description": "Beta Server"
    }
  ],
  "tags": [
    {
      "name": "Names"
    }
  ],
  "paths": {
    "/names/segments": {
      "post": {
        "tags": [
          "Names"
        ],
        "summary": "Compose Full Name",
        "description": "Compose a full name from its parts.",
        "operationId": "createNameSegments",
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "description": "Specifies the media type(s) that the client is willing to accept in the response.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "application/x-fs-v1+json",
                "application/x-gedcomx-v1+json",
                "application/json"
              ]
            }
          },
          {
            "name": "Content-Type",
            "in": "header",
            "description": "Specifies the media type of the entity-body sent to the server in the request.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "application/x-fs-v1+json",
                "application/x-gedcomx-v1+json"
              ]
            }
          },
          {
            "name": "locale",
            "in": "query",
            "description": "The locale to be used for the composition.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/x-gedcomx-v1+json": {
              "schema": {
                "$ref": "#/components/schemas/composeNameSegments"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "If the name was successfully composed from the provided name parts."
          },
          "400": {
            "description": "If there is a problem with the provided data about the name."
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    },
    "schemas": {
      "composeNameSegments": {
        "type": "object",
        "properties": {
          "persons": {
            "type": "array",
            "description": "Array containing the person with the name to be composed. At least one person is required.",
            "minItems": 1,
            "items": {
              "type": "object",
              "properties": {
                "names": {
                  "type": "array",
                  "description": "Array of names for the person. At least one name is required.",
                  "minItems": 1,
                  "items": {
                    "type": "object",
                    "properties": {
                      "nameForms": {
                        "type": "array",
                        "description": "Array of name forms. At least one name form is required.",
                        "minItems": 1,
                        "items": {
                          "type": "object",
                          "properties": {
                            "lang": {
                              "type": "string",
                              "description": "The language and script code for the name form (e.g., ru-Latn for Russian in Latin script, ru-Cyrl for Russian in Cyrillic script).",
                              "example": "ru-Latn"
                            },
                            "fullText": {
                              "type": "string",
                              "description": "The full text of the name.",
                              "example": "Anastassiya Aleksandrova"
                            },
                            "parts": {
                              "type": "array",
                              "description": "Array of name parts (e.g., given name, surname).",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "description": "The type of name part. Valid types include: http://gedcomx.org/Given, http://gedcomx.org/Surname, http://gedcomx.org/Prefix, http://gedcomx.org/Suffix",
                                    "example": "http://gedcomx.org/Given"
                                  },
                                  "value": {
                                    "type": "string",
                                    "description": "The value of the name part.",
                                    "example": "Anastassiya"
                                  }
                                },
                                "required": [
                                  "type",
                                  "value"
                                ]
                              }
                            }
                          }
                        }
                      }
                    },
                    "required": [
                      "nameForms"
                    ]
                  }
                }
              },
              "required": [
                "names"
              ]
            }
          }
        },
        "required": [
          "persons"
        ]
      }
    }
  }
}
```