get_user_list
This call is designed to help you quickly pull data for all of the users in your project.
Choosing between get_user_list and get_info batch mode
get_user_list and get_info both support returning data for multiple users in a single call, but they serve different purposes.
Use get_user_list when you want field data across your whole project (or a paginated slice of it) and don't know in advance which specific users you need. It returns metadata and form field values for all users, paginated at 50 parents per page.
Use get_info batch mode when you already have a specific list of clogin_id values and need richer per-user data — such as cart contents (_usercart), payments (_userpayments), or form status (_userforms) — that get_user_list does not return. Pass clogin_id as an array and the API returns a full get_info style response for each user in a single round-trip. See the get_info documentation for details.
Basic parameters
Name | Type | Required | Description |
|---|---|---|---|
action | string | true | get_user_list |
group_id | integer | true | This designates which project the action should be applied towards. |
doc | array | true | doc should either be an empty array or include one or more of the doc parameters below. Including fields in the doc will return these fields doc in addition to the metadata. |
Doc parameters
There are also some options which allow you to control which users are included in the return.
Name | Type | Required | Description |
|---|---|---|---|
with_excluded | boolean | false | Will include users who have an excluding status applied to them. |
only_excluded | boolean | false | Will only return users who have an excluding status applied to them. |
only_parents | boolean | false | In a family system, this will only return the parent users. |
only_children | boolean | false | In a family system, this will only return the child users. |
starting_position | numeric | false | This allows you to specify at which position in the list of users you would like to begin the return. See the section on pagination more information on how to handle paginated returns. |
return_families | boolean | false | Each set of children will appear as an array within the parent level. The default output is separate arrays for parent and children. |
Further Doc Parameters
Finally, the parameters below can be included in the doc on a get_user_list call. Doing so will return an additional nested doc in each user's metadata with the values requested.
Name | Type | Required | Description |
|---|---|---|---|
_allfields | boolean | false | Returns all of the fields for the applicant, field_index (provides field metadata, see _allfields section for more), and an error section for incomplete fields. |
fields | boolean | false | These are the fields present in your forms. They are referenced by field id or by mapped name (fields are covered more here). |
_family | boolean | false | This returns meta_info for both the parent and any associated children. The return information will include the key parent and it's value will be their meta_info, and the key children as an array of meta_info for each child. |
_userproducts | boolean | false | This returns information about the products which a user is allowed to select. The return will indicate if they have the product in their cart by including cart_id. |
_userforms | boolean | false | This returns information about the forms a user has in their form set. |
_usercart | boolean, dictionary | false | This returns information about the products that a user has in their cart. |
_userpayments | boolean | false | Returns the list of payments that are associated with the user. |
_utm | boolean | false | Returns infromation about UTM codes associated with the user, including campaign, content, id, medium, source, and term. |
Basic Example
import requests
import json
users_endpoint = https://www.regpack.com/reg/api2/users/
headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Api-Id": "15263",
"Api-user": "[email protected]",
"Api-Token": "cd2e514f-7gab-3cde-62fg-51abcd4e7362",
}
payload = {
"action": "get_user_list",
"group_id": 100909072,
"doc": {}
}
get_user_list_json = json.dumps(payload)
get_user_list_response = requests.post(url=users_endpoint,
data=get_user_list_json,
headers=headers,
timeout=10)Response
There are a few important things to note in the response. First, totals is providing you project level metadata about the users you have included in the return. Second, although you are limited to 50 users per page, this refers to the parent users in a family system. This means that if I have 50 parents in my system (i.e. they fit on one page), and between all of these parents they have 63 children, then there will be 113 total records in the return. The 50 parents would appear in the array users and the children would appear in the array children. Each child is connected to a parent by connected_to, for which the value is clogin_id for the parent. So in the output below, "Miles Davis Quintet" is the parent with "clogin_id": "102670540", and "Miles Davis" is the child with "connected_to": "102670540". Note that totals at the top is only returned if starting_position is not included in the call.
{
"totals": {
"total_users": 2,
"total_order": "0.00",
"total_paid": "0.00",
"total_balance": "0.00",
"records_per_page": "15",
"balance": 0,
"total_children": 8,
"label": "families",
"group_type": 1
},
"present_type": "families",
"start_position": 0,
"only_excluded": false,
"with_excluded": false,
"records_per_page": 50,
"users": [
{
"u_name": "Miles Davis Quintet",
"total_forms": "2",
"completed_forms": "0",
"total_user_forms": "2",
"total_completed_user_forms": "0",
"total_user_mandatory_forms": "2",
"total_completed_user_mandatory_forms": "0",
"total_order": "0.00",
"total_paid": "0.00",
"total_balance": "0.00",
"user_has_saved_payment_method": "-1",
"total_items_in_cart": "-1",
"status_id": "75771",
"status_name": "confirmed attending",
"status_color": "#89bb1f",
"application_date": "Oct 23rd 2021 20:28",
"application_date_raw": "2021-10-23 20:28:21",
"u_comments": "0",
"group_id": "100908752",
"uid": "4030267",
"clogin_id": "102670540",
"excluded": "0",
"connected_to": "102670540",
"total_user_tags": "0",
"user_tag_ids": null,
"total_non_excluded_children": "5",
"star": "0",
"admin_initials": null,
"admin_color": null,
"assigned_admin_id": null
},
{
"u_name": "Ed Bickert Trio",
"total_forms": "2",
"completed_forms": "0",
"total_user_forms": "2",
"total_completed_user_forms": "0",
"total_user_mandatory_forms": "2",
"total_completed_user_mandatory_forms": "0",
"total_order": "0.00",
"total_paid": "0.00",
"total_balance": "0.00",
"user_has_saved_payment_method": "-1",
"total_items_in_cart": "-1",
"status_id": "0",
"status_name": null,
"status_color": null,
"application_date": "Oct 23rd 2021 20:22",
"application_date_raw": "2021-10-23 20:22:58",
"u_comments": "0",
"group_id": "100908752",
"uid": "4030262",
"clogin_id": "102670535",
"excluded": "0",
"connected_to": "102670535",
"total_user_tags": "0",
"user_tag_ids": null,
"total_non_excluded_children": "3",
"star": "0",
"admin_initials": null,
"admin_color": null,
"assigned_admin_id": null
}
],
"children": [
{
"u_name": "Ed Bickert",
"total_forms": "7",
"completed_forms": "0",
"total_user_forms": "7",
"total_completed_user_forms": "0",
"total_user_mandatory_forms": "7",
"total_completed_user_mandatory_forms": "0",
"total_order": "0.00",
"total_paid": "0.00",
"total_balance": "0.00",
"user_has_saved_payment_method": "-1",
"total_items_in_cart": "0",
"status_id": "0",
"status_name": null,
"status_color": null,
"application_date": "Oct 23rd 2021 20:23",
"application_date_raw": "2021-10-23 20:23:34",
"u_comments": "0",
"group_id": "100908752",
"uid": "4030263",
"clogin_id": "102670536",
"excluded": "0",
"connected_to": "102670535",
"total_user_tags": "0",
"user_tag_ids": null,
"total_non_excluded_children": null,
"star": "0",
"admin_initials": null,
"admin_color": null,
"assigned_admin_id": null
},
{
"u_name": "Don Thompson",
"total_forms": "7",
"completed_forms": "0",
"total_user_forms": "7",
"total_completed_user_forms": "0",
"total_user_mandatory_forms": "7",
"total_completed_user_mandatory_forms": "0",
"total_order": "0.00",
"total_paid": "0.00",
"total_balance": "0.00",
"user_has_saved_payment_method": "-1",
"total_items_in_cart": "-1",
"status_id": "0",
"status_name": null,
"status_color": null,
"application_date": "Oct 23rd 2021 20:24",
"application_date_raw": "2021-10-23 20:24:39",
"u_comments": "0",
"group_id": "100908752",
"uid": "4030264",
"clogin_id": "102670537",
"excluded": "0",
"connected_to": "102670535",
"total_user_tags": "0",
"user_tag_ids": null,
"total_non_excluded_children": null,
"star": "0",
"admin_initials": null,
"admin_color": null,
"assigned_admin_id": null
},
{
"u_name": "Terry Clarke",
"total_forms": "7",
"completed_forms": "0",
"total_user_forms": "7",
"total_completed_user_forms": "0",
"total_user_mandatory_forms": "7",
"total_completed_user_mandatory_forms": "0",
"total_order": "0.00",
"total_paid": "0.00",
"total_balance": "0.00",
"user_has_saved_payment_method": "-1",
"total_items_in_cart": "-1",
"status_id": "0",
"status_name": null,
"status_color": null,
"application_date": "Oct 23rd 2021 20:25",
"application_date_raw": "2021-10-23 20:25:26",
"u_comments": "0",
"group_id": "100908752",
"uid": "4030265",
"clogin_id": "102670538",
"excluded": "0",
"connected_to": "102670535",
"total_user_tags": "0",
"user_tag_ids": null,
"total_non_excluded_children": null,
"star": "0",
"admin_initials": null,
"admin_color": null,
"assigned_admin_id": null
},
{
"u_name": "Miles Davis",
"total_forms": "7",
"completed_forms": "0",
"total_user_forms": "7",
"total_completed_user_forms": "0",
"total_user_mandatory_forms": "7",
"total_completed_user_mandatory_forms": "0",
"total_order": "0.00",
"total_paid": "0.00",
"total_balance": "0.00",
"user_has_saved_payment_method": "-1",
"total_items_in_cart": "-1",
"status_id": "0",
"status_name": null,
"status_color": null,
"application_date": "Oct 23rd 2021 20:28",
"application_date_raw": "2021-10-23 20:28:59",
"u_comments": "0",
"group_id": "100908752",
"uid": "4030268",
"clogin_id": "102670541",
"excluded": "0",
"connected_to": "102670540",
"total_user_tags": "0",
"user_tag_ids": null,
"total_non_excluded_children": null,
"star": "0",
"admin_initials": null,
"admin_color": null,
"assigned_admin_id": null
},
{
"u_name": "Wayne Shorter",
"total_forms": "7",
"completed_forms": "0",
"total_user_forms": "7",
"total_completed_user_forms": "0",
"total_user_mandatory_forms": "7",
"total_completed_user_mandatory_forms": "0",
"total_order": "0.00",
"total_paid": "0.00",
"total_balance": "0.00",
"user_has_saved_payment_method": "-1",
"total_items_in_cart": "-1",
"status_id": "0",
"status_name": null,
"status_color": null,
"application_date": "Oct 23rd 2021 20:31",
"application_date_raw": "2021-10-23 20:31:13",
"u_comments": "0",
"group_id": "100908752",
"uid": "4030269",
"clogin_id": "102670542",
"excluded": "0",
"connected_to": "102670540",
"total_user_tags": "0",
"user_tag_ids": null,
"total_non_excluded_children": null,
"star": "0",
"admin_initials": null,
"admin_color": null,
"assigned_admin_id": null
},
{
"u_name": "Herbie Hancock",
"total_forms": "7",
"completed_forms": "0",
"total_user_forms": "7",
"total_completed_user_forms": "0",
"total_user_mandatory_forms": "7",
"total_completed_user_mandatory_forms": "0",
"total_order": "0.00",
"total_paid": "0.00",
"total_balance": "0.00",
"user_has_saved_payment_method": "-1",
"total_items_in_cart": "-1",
"status_id": "0",
"status_name": null,
"status_color": null,
"application_date": "Oct 23rd 2021 20:31",
"application_date_raw": "2021-10-23 20:31:14",
"u_comments": "0",
"group_id": "100908752",
"uid": "4030270",
"clogin_id": "102670543",
"excluded": "0",
"connected_to": "102670540",
"total_user_tags": "0",
"user_tag_ids": null,
"total_non_excluded_children": null,
"star": "0",
"admin_initials": null,
"admin_color": null,
"assigned_admin_id": null
},
{
"u_name": "Ron Carter",
"total_forms": "7",
"completed_forms": "0",
"total_user_forms": "7",
"total_completed_user_forms": "0",
"total_user_mandatory_forms": "7",
"total_completed_user_mandatory_forms": "0",
"total_order": "0.00",
"total_paid": "0.00",
"total_balance": "0.00",
"user_has_saved_payment_method": "-1",
"total_items_in_cart": "-1",
"status_id": "0",
"status_name": null,
"status_color": null,
"application_date": "Oct 23rd 2021 20:32",
"application_date_raw": "2021-10-23 20:32:32",
"u_comments": "0",
"group_id": "100908752",
"uid": "4030271",
"clogin_id": "102670544",
"excluded": "0",
"connected_to": "102670540",
"total_user_tags": "0",
"user_tag_ids": null,
"total_non_excluded_children": null,
"star": "0",
"admin_initials": null,
"admin_color": null,
"assigned_admin_id": null
},
{
"u_name": "Tony Williams",
"total_forms": "7",
"completed_forms": "0",
"total_user_forms": "7",
"total_completed_user_forms": "0",
"total_user_mandatory_forms": "7",
"total_completed_user_mandatory_forms": "0",
"total_order": "0.00",
"total_paid": "0.00",
"total_balance": "0.00",
"user_has_saved_payment_method": "-1",
"total_items_in_cart": "-1",
"status_id": "0",
"status_name": null,
"status_color": null,
"application_date": "Oct 23rd 2021 20:33",
"application_date_raw": "2021-10-23 20:33:10",
"u_comments": "0",
"group_id": "100908752",
"uid": "4030272",
"clogin_id": "102670545",
"excluded": "0",
"connected_to": "102670540",
"total_user_tags": "0",
"user_tag_ids": null,
"total_non_excluded_children": null,
"star": "0",
"admin_initials": null,
"admin_color": null,
"assigned_admin_id": null
}
],
"success": true
}
Expanded Example
This example includes the doc with values included. Additionally, this is a paginated call. Because get_user_list includes all users and their values, it is necessary to paginate these calls.
import requests
import json
import time
users_endpoint = https://www.regpack.com/reg/api2/users/
current_time = str(round(time.time()))
headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Api-Id": "15263",
"Api-user": "[email protected]",
"Api-Token": "cd2e514f-7gab-3cde-62fg-51abcd4e7362",
"Timestamp": current_time
}
payload = {
"action": "get_user_list",
"group_id": 100909072,
"doc": {
"starting_position": 1,
"your_instrument": True,
}
}
total_users = 222
records_per_page = 50
calls_required_to_get_complete_list = total_users // records_per_page + 1 # // is the Floor division operator
pages = range(1, calls_required_to_get_complete_list+1) # range's in python are exclusive, so add one
parent_users = []
child_users = []
final_return = {}
for page in pages:
if page == 1:
payload["doc"]["starting_position"] = 0
if page != 1:
payload["doc"]["starting_position"] = payload["doc"]["starting_position"] + records_per_page
get_user_list_json = json.dumps(payload)
get_user_list_response = requests.post(url=users_endpoint,
data=get_user_list_json,
headers=headers,
timeout=10)
json_results = get_user_list_response.json()
if "users" in json_results.keys():
parent_users.extend(json_results["users"])
if "children" in json_results.keys():
child_users.extend(json_results["children"])
final_return.update({"users": parent_users, "children": child_users})
print(json.dumps(final_return, indent=4))Response
{
"users": [
{
"u_name": "Miles Davis Quintet",
"total_forms": "2",
"completed_forms": "0",
"total_user_forms": "2",
"total_completed_user_forms": "0",
"total_user_mandatory_forms": "2",
"total_completed_user_mandatory_forms": "0",
"total_order": "0.00",
"total_paid": "0.00",
"total_balance": "0.00",
"user_has_saved_payment_method": "-1",
"total_items_in_cart": "-1",
"status_id": "75771",
"status_name": "confirmed attending",
"status_color": "#89bb1f",
"application_date": "Oct 23rd 2021 20:28",
"application_date_raw": "2021-10-23 20:28:21",
"u_comments": "0",
"group_id": "100908752",
"uid": "4030267",
"clogin_id": "102670540",
"excluded": "0",
"connected_to": "102670540",
"total_user_tags": "0",
"user_tag_ids": null,
"total_non_excluded_children": "5",
"star": "0",
"admin_initials": null,
"admin_color": null,
"assigned_admin_id": null
},
{
"u_name": "Ed Bickert Trio",
"total_forms": "2",
"completed_forms": "0",
"total_user_forms": "2",
"total_completed_user_forms": "0",
"total_user_mandatory_forms": "2",
"total_completed_user_mandatory_forms": "0",
"total_order": "0.00",
"total_paid": "0.00",
"total_balance": "0.00",
"user_has_saved_payment_method": "-1",
"total_items_in_cart": "-1",
"status_id": "0",
"status_name": null,
"status_color": null,
"application_date": "Oct 23rd 2021 20:22",
"application_date_raw": "2021-10-23 20:22:58",
"u_comments": "0",
"group_id": "100908752",
"uid": "4030262",
"clogin_id": "102670535",
"excluded": "0",
"connected_to": "102670535",
"total_user_tags": "0",
"user_tag_ids": null,
"total_non_excluded_children": "3",
"star": "0",
"admin_initials": null,
"admin_color": null,
"assigned_admin_id": null
}
],
"children": [
{
"u_name": "Ed Bickert",
"total_forms": "7",
"completed_forms": "0",
"total_user_forms": "7",
"total_completed_user_forms": "0",
"total_user_mandatory_forms": "7",
"total_completed_user_mandatory_forms": "0",
"total_order": "0.00",
"total_paid": "0.00",
"total_balance": "0.00",
"user_has_saved_payment_method": "-1",
"total_items_in_cart": "0",
"status_id": "0",
"status_name": null,
"status_color": null,
"application_date": "Oct 23rd 2021 20:23",
"application_date_raw": "2021-10-23 20:23:34",
"u_comments": "0",
"group_id": "100908752",
"uid": "4030263",
"clogin_id": "102670536",
"excluded": "0",
"connected_to": "102670535",
"total_user_tags": "0",
"user_tag_ids": null,
"total_non_excluded_children": null,
"star": "0",
"admin_initials": null,
"admin_color": null,
"assigned_admin_id": null,
"doc": {
"your_instrument": "guitar"
}
},
{
"u_name": "Don Thompson",
"total_forms": "7",
"completed_forms": "0",
"total_user_forms": "7",
"total_completed_user_forms": "0",
"total_user_mandatory_forms": "7",
"total_completed_user_mandatory_forms": "0",
"total_order": "0.00",
"total_paid": "0.00",
"total_balance": "0.00",
"user_has_saved_payment_method": "-1",
"total_items_in_cart": "-1",
"status_id": "0",
"status_name": null,
"status_color": null,
"application_date": "Oct 23rd 2021 20:24",
"application_date_raw": "2021-10-23 20:24:39",
"u_comments": "0",
"group_id": "100908752",
"uid": "4030264",
"clogin_id": "102670537",
"excluded": "0",
"connected_to": "102670535",
"total_user_tags": "0",
"user_tag_ids": null,
"total_non_excluded_children": null,
"star": "0",
"admin_initials": null,
"admin_color": null,
"assigned_admin_id": null,
"doc": {
"your_instrument": "bass"
}
},
{
"u_name": "Terry Clarke",
"total_forms": "7",
"completed_forms": "0",
"total_user_forms": "7",
"total_completed_user_forms": "0",
"total_user_mandatory_forms": "7",
"total_completed_user_mandatory_forms": "0",
"total_order": "0.00",
"total_paid": "0.00",
"total_balance": "0.00",
"user_has_saved_payment_method": "-1",
"total_items_in_cart": "-1",
"status_id": "0",
"status_name": null,
"status_color": null,
"application_date": "Oct 23rd 2021 20:25",
"application_date_raw": "2021-10-23 20:25:26",
"u_comments": "0",
"group_id": "100908752",
"uid": "4030265",
"clogin_id": "102670538",
"excluded": "0",
"connected_to": "102670535",
"total_user_tags": "0",
"user_tag_ids": null,
"total_non_excluded_children": null,
"star": "0",
"admin_initials": null,
"admin_color": null,
"assigned_admin_id": null,
"doc": {
"your_instrument": "drums"
}
},
{
"u_name": "Miles Davis",
"total_forms": "7",
"completed_forms": "0",
"total_user_forms": "7",
"total_completed_user_forms": "0",
"total_user_mandatory_forms": "7",
"total_completed_user_mandatory_forms": "0",
"total_order": "0.00",
"total_paid": "0.00",
"total_balance": "0.00",
"user_has_saved_payment_method": "-1",
"total_items_in_cart": "-1",
"status_id": "0",
"status_name": null,
"status_color": null,
"application_date": "Oct 23rd 2021 20:28",
"application_date_raw": "2021-10-23 20:28:59",
"u_comments": "0",
"group_id": "100908752",
"uid": "4030268",
"clogin_id": "102670541",
"excluded": "0",
"connected_to": "102670540",
"total_user_tags": "0",
"user_tag_ids": null,
"total_non_excluded_children": null,
"star": "0",
"admin_initials": null,
"admin_color": null,
"assigned_admin_id": null,
"doc": {
"your_instrument": "trumpet"
}
},
{
"u_name": "Wayne Shorter",
"total_forms": "7",
"completed_forms": "0",
"total_user_forms": "7",
"total_completed_user_forms": "0",
"total_user_mandatory_forms": "7",
"total_completed_user_mandatory_forms": "0",
"total_order": "0.00",
"total_paid": "0.00",
"total_balance": "0.00",
"user_has_saved_payment_method": "-1",
"total_items_in_cart": "-1",
"status_id": "0",
"status_name": null,
"status_color": null,
"application_date": "Oct 23rd 2021 20:31",
"application_date_raw": "2021-10-23 20:31:13",
"u_comments": "0",
"group_id": "100908752",
"uid": "4030269",
"clogin_id": "102670542",
"excluded": "0",
"connected_to": "102670540",
"total_user_tags": "0",
"user_tag_ids": null,
"total_non_excluded_children": null,
"star": "0",
"admin_initials": null,
"admin_color": null,
"assigned_admin_id": null,
"doc": {
"your_instrument": "saxophone"
}
},
{
"u_name": "Herbie Hancock",
"total_forms": "7",
"completed_forms": "0",
"total_user_forms": "7",
"total_completed_user_forms": "0",
"total_user_mandatory_forms": "7",
"total_completed_user_mandatory_forms": "0",
"total_order": "0.00",
"total_paid": "0.00",
"total_balance": "0.00",
"user_has_saved_payment_method": "-1",
"total_items_in_cart": "-1",
"status_id": "0",
"status_name": null,
"status_color": null,
"application_date": "Oct 23rd 2021 20:31",
"application_date_raw": "2021-10-23 20:31:14",
"u_comments": "0",
"group_id": "100908752",
"uid": "4030270",
"clogin_id": "102670543",
"excluded": "0",
"connected_to": "102670540",
"total_user_tags": "0",
"user_tag_ids": null,
"total_non_excluded_children": null,
"star": "0",
"admin_initials": null,
"admin_color": null,
"assigned_admin_id": null,
"doc": {
"your_instrument": "piano"
}
},
{
"u_name": "Ron Carter",
"total_forms": "7",
"completed_forms": "0",
"total_user_forms": "7",
"total_completed_user_forms": "0",
"total_user_mandatory_forms": "7",
"total_completed_user_mandatory_forms": "0",
"total_order": "0.00",
"total_paid": "0.00",
"total_balance": "0.00",
"user_has_saved_payment_method": "-1",
"total_items_in_cart": "-1",
"status_id": "0",
"status_name": null,
"status_color": null,
"application_date": "Oct 23rd 2021 20:32",
"application_date_raw": "2021-10-23 20:32:32",
"u_comments": "0",
"group_id": "100908752",
"uid": "4030271",
"clogin_id": "102670544",
"excluded": "0",
"connected_to": "102670540",
"total_user_tags": "0",
"user_tag_ids": null,
"total_non_excluded_children": null,
"star": "0",
"admin_initials": null,
"admin_color": null,
"assigned_admin_id": null,
"doc": {
"your_instrument": "bass"
}
},
{
"u_name": "Tony Williams",
"total_forms": "7",
"completed_forms": "0",
"total_user_forms": "7",
"total_completed_user_forms": "0",
"total_user_mandatory_forms": "7",
"total_completed_user_mandatory_forms": "0",
"total_order": "0.00",
"total_paid": "0.00",
"total_balance": "0.00",
"user_has_saved_payment_method": "-1",
"total_items_in_cart": "-1",
"status_id": "0",
"status_name": null,
"status_color": null,
"application_date": "Oct 23rd 2021 20:33",
"application_date_raw": "2021-10-23 20:33:10",
"u_comments": "0",
"group_id": "100908752",
"uid": "4030272",
"clogin_id": "102670545",
"excluded": "0",
"connected_to": "102670540",
"total_user_tags": "0",
"user_tag_ids": null,
"total_non_excluded_children": null,
"star": "0",
"admin_initials": null,
"admin_color": null,
"assigned_admin_id": null,
"doc": {
"your_instrument": "drums"
}
}
]
}