Create a person
elvanto_create_personAdd a new person to the church database (e.g. a first-time guest). Returns the new person id and family id. Does not create a login. Elvanto: people/create.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Email address. | ||
| phone | No | Phone number (non-digits are stripped by Elvanto). | |
| fields | No | Extra fields to set, e.g. {"gender":"Male","birthday":"1989-04-23","marital_status":"Married","departments":["Music"],"custom_<field id>":"value"}. Use *_replace / *_remove variants (e.g. departments_replace) to replace or remove list values. access_permissions* are refused: this server never changes what a person may administer. | |
| mobile | No | Mobile number (non-digits are stripped by Elvanto). | |
| contact | No | Mark the person a contact (yes) or not (no). | |
| archived | No | Mark the person archived (yes) or not (no). | |
| lastname | Yes | Last name. | |
| family_id | No | Family id to join an existing family, or "new" to start a new family. | |
| firstname | Yes | First name. | |
| volunteer | No | Mark the person a volunteer (yes) or not (no). | |
| category_id | No | People category id (see elvanto_list_people_categories). | |
| preferred_name | No | Preferred name (nickname). | |
| family_relationship | No | Relationship within the family. |