Create Group
This example request illustrates how to create a group.
JSON
Request
POST /platform/groups
Content-Type: application/x-fs-v1+json
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
{
"groups" : [ {
"name" : "Good Ship Zion Immigrant Society",
"description" : "Trees for those who immigrated on the various Good Ship Zion voyages",
"codeOfConduct" : "Please be respectful of others and their work",
"treeIds" : null
} ]
}
Response
HTTP/1.1 201 Created X-entity-id: 9MMN-C68 Location: https://api.familysearch.org/platform/groups/9MMN-C68 X-processing-time: 217 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
Sending...
Feedback was sent.
Can't send feedback. Retry in 5 seconds.