Field guide

The following fields are available in a contact object

NameTypeExampleNotes
idint0Please specify to edit existing contact
surnamestringSmith
namestringJohn
emailstringjohn.smith@example.com
phonestring101 202 303
genderint1See Contact Genders
primaryint1Set to 1 if this contact should be a primary one

Example

    {
      "surname": "Smith",
      "name": "John",
      "email": "john.smith@example.com",
      "phone": "101 202 303",
      "gender": 1,
      "primary": 1
    }
    

Gender

GenderMeaning of gender
1Male
2Female