Create Tree Example

This example request illustrates how to create a CET tree.

JSON

Request

POST /platform/trees
Content-Type: application/x-fs-v1+json
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE

{
  "trees": [
    {
      "groupIds": [
        "9M9H-2G7"
      ],
      "name": "The Good Ship Zion, Voyage #1",
      "description": "The passengers and descendants of those who migrated on the Good Ship Zion, Voyage #1",
      "ownerAccess": "CompanyApps",
      "groupAccess": "None"
    }
  ]
}

Response

HTTP/1.1 201 Created
X-entity-id: 9NMM-9D6C
Location: https://api.familysearch.org/platform/trees/9NMM-9D6C
X-processing-time: 164
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-cache, no-store, no-transform, must-revalidate, max-age=0
Transfer-encoding: chunked