> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://virtuous.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://virtuous.ferndocs.com/_mcp/server.

# Create a Contact

POST https://api.virtuoussoftware.com/api/Contact
Content-Type: application/json

Will not check for contact duplicates.

Reference: https://virtuous.ferndocs.com/reference/crm-plus/contacts-and-individuals/create-a-contact

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Servers

- `https://api.virtuoussoftware.com` (https://api.virtuoussoftware.com, default)
- `{{baseUrl}}api` ({{baseUrl}}api)

## Request

### Body (application/json)

This endpoint expects an object.

- `contactType` (string, optional)
- `referenceSource` (string, optional)
- `referenceId` (string, optional)
- `name` (string, optional)
- `informalName` (string, optional)
- `description` (string, optional)
- `website` (string, optional)
- `maritalStatus` (string, optional)
- `anniversaryMonth` (string, optional)
- `anniversaryDay` (string, optional)
- `anniversaryYear` (string, optional)
- `originSegmentId` (string, optional)
- `isPrivate` (string, optional)
- `isArchived` (string, optional)
- `contactAddresses` (list of ApiContactPostRequestBodyContentApplicationJsonSchemaContactAddressesItems, optional)
- `contactIndividuals` (list of ApiContactPostRequestBodyContentApplicationJsonSchemaContactIndividualsItems, optional)
- `customFields` (string, optional)
- `customCollections` (list of ApiContactPostRequestBodyContentApplicationJsonSchemaCustomCollectionsItems, optional)

## Response

### 200

OK

- `id` (string, optional)
- `contactType` (string, optional)
- `isPrivate` (string, optional)
- `name` (string, optional)
- `informalName` (string, optional)
- `description` (string, optional)
- `website` (string, optional)
- `maritalStatus` (string, optional)
- `anniversaryMonth` (string, optional)
- `anniversaryDay` (string, optional)
- `anniversaryYear` (string, optional)
- `mergedIntoContactId` (string, optional)
- `address` (ApiContactPostResponsesContentApplicationJsonSchemaAddress, optional)
- `giftAskAmount` (string, optional)
- `giftAskType` (string, optional)
- `lifeToDateGiving` (string, optional)
- `yearToDateGiving` (string, optional)
- `lastGiftAmount` (string, optional)
- `lastGiftDate` (string, optional)
- `contactIndividuals` (list of ApiContactPostResponsesContentApplicationJsonSchemaContactIndividualsItems, optional)
- `contactGiftsUrl` (string, optional)
- `contactPassthroughGiftsUrl` (string, optional)
- `contactPlannedGiftsUrl` (string, optional)
- `contactRecurringGiftsUrl` (string, optional)
- `contactImportantNotesUrl` (string, optional)
- `contactNotesUrl` (string, optional)
- `contactTagsUrl` (string, optional)
- `contactRelationshipsUrl` (string, optional)
- `primaryAvatarUrl` (string, optional)
- `contactReferences` (list of ApiContactPostResponsesContentApplicationJsonSchemaContactReferencesItems, optional)
- `originSegmentId` (string, optional)
- `originSegment` (string, optional)
- `createDateTimeUtc` (string, optional)
- `createdByUser` (string, optional)
- `modifiedDateTimeUtc` (string, optional)
- `modifiedByUser` (string, optional)
- `tags` (list of string, optional)
- `organizationGroups` (list of string, optional)
- `customFields` (list of ApiContactPostResponsesContentApplicationJsonSchemaCustomFieldsItems, optional)
- `customCollections` (list of ApiContactPostResponsesContentApplicationJsonSchemaCustomCollectionsItems, optional)

## Errors

### 400 Bad Request Error

BadRequest

- `any`

## Types

### ApiContactPostRequestBodyContentApplicationJsonSchemaContactAddressesItems

- `label` (string, optional)
- `address1` (string, optional)
- `address2` (string, optional)
- `city` (string, optional)
- `stateCode` (string, optional)
- `postal` (string, optional)
- `countryCode` (string, optional)
- `isPrimary` (string, optional)
- `latitude` (string, optional)
- `longitude` (string, optional)

### ApiContactPostRequestBodyContentApplicationJsonSchemaContactIndividualsItems

- `firstName` (string, optional)
- `lastName` (string, optional)
- `prefix` (string, optional)
- `middleName` (string, optional)
- `suffix` (string, optional)
- `birthMonth` (string, optional)
- `birthDay` (string, optional)
- `birthYear` (string, optional)
- `approximateAge` (string, optional)
- `gender` (string, optional)
- `passion` (string, optional)
- `isPrimary` (string, optional)
- `isSecondary` (string, optional)
- `isDeceased` (string, optional)
- `contactMethods` (list of ApiContactPostRequestBodyContentApplicationJsonSchemaContactIndividualsItemsContactMethodsItems, optional)
- `customFields` (string, optional)

### ApiContactPostRequestBodyContentApplicationJsonSchemaCustomCollectionsItems

- `name` (string, optional)
- `fields` (list of ApiContactPostRequestBodyContentApplicationJsonSchemaCustomCollectionsItemsFieldsItems, optional)

### ApiContactPostResponsesContentApplicationJsonSchemaAddress

- `id` (string, optional)
- `label` (string, optional)
- `address1` (string, optional)
- `address2` (string, optional)
- `city` (string, optional)
- `state` (string, optional)
- `postal` (string, optional)
- `country` (string, optional)
- `isPrimary` (string, optional)
- `canBePrimary` (string, optional)
- `startMonth` (string, optional)
- `startDay` (string, optional)
- `endMonth` (string, optional)
- `endDay` (string, optional)

### ApiContactPostResponsesContentApplicationJsonSchemaContactIndividualsItems

- `id` (string, optional)
- `contactId` (string, optional)
- `prefix` (string, optional)
- `firstName` (string, optional)
- `middleName` (string, optional)
- `lastName` (string, optional)
- `suffix` (string, optional)
- `gender` (string, optional)
- `isPrimary` (string, optional)
- `canBePrimary` (string, optional)
- `isSecondary` (string, optional)
- `canBeSecondary` (string, optional)
- `birthMonth` (string, optional)
- `birthDay` (string, optional)
- `birthYear` (string, optional)
- `birthDate` (string, optional)
- `approximateAge` (string, optional)
- `isDeceased` (string, optional)
- `passion` (string, optional)
- `avatarUrl` (string, optional)
- `contactMethods` (list of ApiContactPostResponsesContentApplicationJsonSchemaContactIndividualsItemsContactMethodsItems, optional)
- `createDateTimeUtc` (string, optional)
- `modifiedDateTimeUtc` (string, optional)
- `customFields` (list of ApiContactPostResponsesContentApplicationJsonSchemaContactIndividualsItemsCustomFieldsItems, optional)
- `customCollections` (list of ApiContactPostResponsesContentApplicationJsonSchemaContactIndividualsItemsCustomCollectionsItems, optional)

### ApiContactPostResponsesContentApplicationJsonSchemaContactReferencesItems

- `source` (string, optional)
- `id` (string, optional)

### ApiContactPostResponsesContentApplicationJsonSchemaCustomFieldsItems

- `name` (string, optional)
- `value` (string, optional)
- `displayName` (string, optional)

### ApiContactPostResponsesContentApplicationJsonSchemaCustomCollectionsItems

- `customCollectionId` (string, optional)
- `customCollectionName` (string, optional)
- `collectionInstanceId` (string, optional)
- `fields` (list of ApiContactPostResponsesContentApplicationJsonSchemaCustomCollectionsItemsFieldsItems, optional)

### ApiContactPostRequestBodyContentApplicationJsonSchemaContactIndividualsItemsContactMethodsItems

- `type` (string, optional)
- `value` (string, optional)
- `isOptedIn` (string, optional)
- `isPrimary` (string, optional)

### ApiContactPostRequestBodyContentApplicationJsonSchemaCustomCollectionsItemsFieldsItems

- `name` (string, optional)
- `value` (string, optional)

### ApiContactPostResponsesContentApplicationJsonSchemaContactIndividualsItemsContactMethodsItems

- `id` (string, optional)
- `type` (string, optional)
- `value` (string, optional)
- `isOptedIn` (string, optional)
- `isPrimary` (string, optional)
- `canBePrimary` (string, optional)

### ApiContactPostResponsesContentApplicationJsonSchemaContactIndividualsItemsCustomFieldsItems

- `name` (string, optional)
- `value` (string, optional)
- `displayName` (string, optional)

### ApiContactPostResponsesContentApplicationJsonSchemaContactIndividualsItemsCustomCollectionsItems

- `customCollectionId` (string, optional)
- `customCollectionName` (string, optional)
- `collectionInstanceId` (string, optional)
- `fields` (list of ApiContactPostResponsesContentApplicationJsonSchemaContactIndividualsItemsCustomCollectionsItemsFieldsItems, optional)

### ApiContactPostResponsesContentApplicationJsonSchemaCustomCollectionsItemsFieldsItems

- `name` (string, optional)
- `value` (string, optional)

### ApiContactPostResponsesContentApplicationJsonSchemaContactIndividualsItemsCustomCollectionsItemsFieldsItems

- `name` (string, optional)
- `value` (string, optional)

## Examples

**Request**

```json
{
  "contactType": "<string>",
  "referenceSource": "<string>",
  "referenceId": "<string>",
  "name": "<string>",
  "informalName": "<string>",
  "description": "<string>",
  "website": "<string>",
  "maritalStatus": "<string>",
  "anniversaryMonth": "<integer>",
  "anniversaryDay": "<integer>",
  "anniversaryYear": "<integer>",
  "originSegmentId": "<integer>",
  "isPrivate": "<boolean>",
  "isArchived": "<boolean>",
  "contactAddresses": [
    {
      "label": "<string>",
      "address1": "<string>",
      "address2": "<string>",
      "city": "<string>",
      "stateCode": "<string>",
      "postal": "<string>",
      "countryCode": "<string>",
      "isPrimary": "<boolean>",
      "latitude": "<double>",
      "longitude": "<double>"
    },
    {
      "label": "<string>",
      "address1": "<string>",
      "address2": "<string>",
      "city": "<string>",
      "stateCode": "<string>",
      "postal": "<string>",
      "countryCode": "<string>",
      "isPrimary": "<boolean>",
      "latitude": "<double>",
      "longitude": "<double>"
    }
  ],
  "contactIndividuals": [
    {
      "firstName": "<string>",
      "lastName": "<string>",
      "prefix": "<string>",
      "middleName": "<string>",
      "suffix": "<string>",
      "birthMonth": "<integer>",
      "birthDay": "<integer>",
      "birthYear": "<integer>",
      "approximateAge": "<integer>",
      "gender": "<string>",
      "passion": "<string>",
      "isPrimary": "<boolean>",
      "isSecondary": "<boolean>",
      "isDeceased": "<boolean>",
      "contactMethods": [
        {
          "type": "<string>",
          "value": "<string>",
          "isOptedIn": "<boolean>",
          "isPrimary": "<boolean>"
        },
        {
          "type": "<string>",
          "value": "<string>",
          "isOptedIn": "<boolean>",
          "isPrimary": "<boolean>"
        }
      ],
      "customFields": "<object>"
    },
    {
      "firstName": "<string>",
      "lastName": "<string>",
      "prefix": "<string>",
      "middleName": "<string>",
      "suffix": "<string>",
      "birthMonth": "<integer>",
      "birthDay": "<integer>",
      "birthYear": "<integer>",
      "approximateAge": "<integer>",
      "gender": "<string>",
      "passion": "<string>",
      "isPrimary": "<boolean>",
      "isSecondary": "<boolean>",
      "isDeceased": "<boolean>",
      "contactMethods": [
        {
          "type": "<string>",
          "value": "<string>",
          "isOptedIn": "<boolean>",
          "isPrimary": "<boolean>"
        },
        {
          "type": "<string>",
          "value": "<string>",
          "isOptedIn": "<boolean>",
          "isPrimary": "<boolean>"
        }
      ],
      "customFields": "<object>"
    }
  ],
  "customFields": "<object>",
  "customCollections": [
    {
      "name": "<string>",
      "fields": [
        {
          "name": "<string>",
          "value": "<string>"
        },
        {
          "name": "<string>",
          "value": "<string>"
        }
      ]
    },
    {
      "name": "<string>",
      "fields": [
        {
          "name": "<string>",
          "value": "<string>"
        },
        {
          "name": "<string>",
          "value": "<string>"
        }
      ]
    }
  ]
}
```

**Response**

```json
{
  "id": "<integer>",
  "contactType": "<string>",
  "isPrivate": "<boolean>",
  "name": "<string>",
  "informalName": "<string>",
  "description": "<string>",
  "website": "<string>",
  "maritalStatus": "<string>",
  "anniversaryMonth": "<integer>",
  "anniversaryDay": "<integer>",
  "anniversaryYear": "<integer>",
  "mergedIntoContactId": "<integer>",
  "address": {
    "id": "<integer>",
    "label": "<string>",
    "address1": "<string>",
    "address2": "<string>",
    "city": "<string>",
    "state": "<string>",
    "postal": "<string>",
    "country": "<string>",
    "isPrimary": "<boolean>",
    "canBePrimary": "<boolean>",
    "startMonth": "<integer>",
    "startDay": "<integer>",
    "endMonth": "<integer>",
    "endDay": "<integer>"
  },
  "giftAskAmount": "<string>",
  "giftAskType": "<string>",
  "lifeToDateGiving": "<string>",
  "yearToDateGiving": "<string>",
  "lastGiftAmount": "<string>",
  "lastGiftDate": "<string>",
  "contactIndividuals": [
    {
      "id": "<integer>",
      "contactId": "<integer>",
      "prefix": "<string>",
      "firstName": "<string>",
      "middleName": "<string>",
      "lastName": "<string>",
      "suffix": "<string>",
      "gender": "<string>",
      "isPrimary": "<boolean>",
      "canBePrimary": "<boolean>",
      "isSecondary": "<boolean>",
      "canBeSecondary": "<boolean>",
      "birthMonth": "<integer>",
      "birthDay": "<integer>",
      "birthYear": "<integer>",
      "birthDate": "<string>",
      "approximateAge": "<integer>",
      "isDeceased": "<boolean>",
      "passion": "<string>",
      "avatarUrl": "<string>",
      "contactMethods": [
        {
          "id": "<integer>",
          "type": "<string>",
          "value": "<string>",
          "isOptedIn": "<boolean>",
          "isPrimary": "<boolean>",
          "canBePrimary": "<boolean>"
        },
        {
          "id": "<integer>",
          "type": "<string>",
          "value": "<string>",
          "isOptedIn": "<boolean>",
          "isPrimary": "<boolean>",
          "canBePrimary": "<boolean>"
        }
      ],
      "createDateTimeUtc": "<dateTime>",
      "modifiedDateTimeUtc": "<dateTime>",
      "customFields": [
        {
          "name": "<string>",
          "value": "<string>",
          "displayName": "<string>"
        },
        {
          "name": "<string>",
          "value": "<string>",
          "displayName": "<string>"
        }
      ],
      "customCollections": [
        {
          "customCollectionId": "<integer>",
          "customCollectionName": "<string>",
          "collectionInstanceId": "<integer>",
          "fields": [
            {
              "name": "<string>",
              "value": "<string>"
            },
            {
              "name": "<string>",
              "value": "<string>"
            }
          ]
        },
        {
          "customCollectionId": "<integer>",
          "customCollectionName": "<string>",
          "collectionInstanceId": "<integer>",
          "fields": [
            {
              "name": "<string>",
              "value": "<string>"
            },
            {
              "name": "<string>",
              "value": "<string>"
            }
          ]
        }
      ]
    },
    {
      "id": "<integer>",
      "contactId": "<integer>",
      "prefix": "<string>",
      "firstName": "<string>",
      "middleName": "<string>",
      "lastName": "<string>",
      "suffix": "<string>",
      "gender": "<string>",
      "isPrimary": "<boolean>",
      "canBePrimary": "<boolean>",
      "isSecondary": "<boolean>",
      "canBeSecondary": "<boolean>",
      "birthMonth": "<integer>",
      "birthDay": "<integer>",
      "birthYear": "<integer>",
      "birthDate": "<string>",
      "approximateAge": "<integer>",
      "isDeceased": "<boolean>",
      "passion": "<string>",
      "avatarUrl": "<string>",
      "contactMethods": [
        {
          "id": "<integer>",
          "type": "<string>",
          "value": "<string>",
          "isOptedIn": "<boolean>",
          "isPrimary": "<boolean>",
          "canBePrimary": "<boolean>"
        },
        {
          "id": "<integer>",
          "type": "<string>",
          "value": "<string>",
          "isOptedIn": "<boolean>",
          "isPrimary": "<boolean>",
          "canBePrimary": "<boolean>"
        }
      ],
      "createDateTimeUtc": "<dateTime>",
      "modifiedDateTimeUtc": "<dateTime>",
      "customFields": [
        {
          "name": "<string>",
          "value": "<string>",
          "displayName": "<string>"
        },
        {
          "name": "<string>",
          "value": "<string>",
          "displayName": "<string>"
        }
      ],
      "customCollections": [
        {
          "customCollectionId": "<integer>",
          "customCollectionName": "<string>",
          "collectionInstanceId": "<integer>",
          "fields": [
            {
              "name": "<string>",
              "value": "<string>"
            },
            {
              "name": "<string>",
              "value": "<string>"
            }
          ]
        },
        {
          "customCollectionId": "<integer>",
          "customCollectionName": "<string>",
          "collectionInstanceId": "<integer>",
          "fields": [
            {
              "name": "<string>",
              "value": "<string>"
            },
            {
              "name": "<string>",
              "value": "<string>"
            }
          ]
        }
      ]
    }
  ],
  "contactGiftsUrl": "<string>",
  "contactPassthroughGiftsUrl": "<string>",
  "contactPlannedGiftsUrl": "<string>",
  "contactRecurringGiftsUrl": "<string>",
  "contactImportantNotesUrl": "<string>",
  "contactNotesUrl": "<string>",
  "contactTagsUrl": "<string>",
  "contactRelationshipsUrl": "<string>",
  "primaryAvatarUrl": "<string>",
  "contactReferences": [
    {
      "source": "<string>",
      "id": "<string>"
    },
    {
      "source": "<string>",
      "id": "<string>"
    }
  ],
  "originSegmentId": "<integer>",
  "originSegment": "<string>",
  "createDateTimeUtc": "<dateTime>",
  "createdByUser": "<string>",
  "modifiedDateTimeUtc": "<dateTime>",
  "modifiedByUser": "<string>",
  "tags": [
    "<string>",
    "<string>"
  ],
  "organizationGroups": [
    "<string>",
    "<string>"
  ],
  "customFields": [
    {
      "name": "<string>",
      "value": "<string>",
      "displayName": "<string>"
    },
    {
      "name": "<string>",
      "value": "<string>",
      "displayName": "<string>"
    }
  ],
  "customCollections": [
    {
      "customCollectionId": "<integer>",
      "customCollectionName": "<string>",
      "collectionInstanceId": "<integer>",
      "fields": [
        {
          "name": "<string>",
          "value": "<string>"
        },
        {
          "name": "<string>",
          "value": "<string>"
        }
      ]
    },
    {
      "customCollectionId": "<integer>",
      "customCollectionName": "<string>",
      "collectionInstanceId": "<integer>",
      "fields": [
        {
          "name": "<string>",
          "value": "<string>"
        },
        {
          "name": "<string>",
          "value": "<string>"
        }
      ]
    }
  ]
}
```

**SDK Code**

```python Contacts and Individuals_createAContact_example
import requests

url = "https://api.virtuoussoftware.com/api/Contact"

payload = {
    "contactType": "<string>",
    "referenceSource": "<string>",
    "referenceId": "<string>",
    "name": "<string>",
    "informalName": "<string>",
    "description": "<string>",
    "website": "<string>",
    "maritalStatus": "<string>",
    "anniversaryMonth": "<integer>",
    "anniversaryDay": "<integer>",
    "anniversaryYear": "<integer>",
    "originSegmentId": "<integer>",
    "isPrivate": "<boolean>",
    "isArchived": "<boolean>",
    "contactAddresses": [
        {
            "label": "<string>",
            "address1": "<string>",
            "address2": "<string>",
            "city": "<string>",
            "stateCode": "<string>",
            "postal": "<string>",
            "countryCode": "<string>",
            "isPrimary": "<boolean>",
            "latitude": "<double>",
            "longitude": "<double>"
        },
        {
            "label": "<string>",
            "address1": "<string>",
            "address2": "<string>",
            "city": "<string>",
            "stateCode": "<string>",
            "postal": "<string>",
            "countryCode": "<string>",
            "isPrimary": "<boolean>",
            "latitude": "<double>",
            "longitude": "<double>"
        }
    ],
    "contactIndividuals": [
        {
            "firstName": "<string>",
            "lastName": "<string>",
            "prefix": "<string>",
            "middleName": "<string>",
            "suffix": "<string>",
            "birthMonth": "<integer>",
            "birthDay": "<integer>",
            "birthYear": "<integer>",
            "approximateAge": "<integer>",
            "gender": "<string>",
            "passion": "<string>",
            "isPrimary": "<boolean>",
            "isSecondary": "<boolean>",
            "isDeceased": "<boolean>",
            "contactMethods": [
                {
                    "type": "<string>",
                    "value": "<string>",
                    "isOptedIn": "<boolean>",
                    "isPrimary": "<boolean>"
                },
                {
                    "type": "<string>",
                    "value": "<string>",
                    "isOptedIn": "<boolean>",
                    "isPrimary": "<boolean>"
                }
            ],
            "customFields": "<object>"
        },
        {
            "firstName": "<string>",
            "lastName": "<string>",
            "prefix": "<string>",
            "middleName": "<string>",
            "suffix": "<string>",
            "birthMonth": "<integer>",
            "birthDay": "<integer>",
            "birthYear": "<integer>",
            "approximateAge": "<integer>",
            "gender": "<string>",
            "passion": "<string>",
            "isPrimary": "<boolean>",
            "isSecondary": "<boolean>",
            "isDeceased": "<boolean>",
            "contactMethods": [
                {
                    "type": "<string>",
                    "value": "<string>",
                    "isOptedIn": "<boolean>",
                    "isPrimary": "<boolean>"
                },
                {
                    "type": "<string>",
                    "value": "<string>",
                    "isOptedIn": "<boolean>",
                    "isPrimary": "<boolean>"
                }
            ],
            "customFields": "<object>"
        }
    ],
    "customFields": "<object>",
    "customCollections": [
        {
            "name": "<string>",
            "fields": [
                {
                    "name": "<string>",
                    "value": "<string>"
                },
                {
                    "name": "<string>",
                    "value": "<string>"
                }
            ]
        },
        {
            "name": "<string>",
            "fields": [
                {
                    "name": "<string>",
                    "value": "<string>"
                },
                {
                    "name": "<string>",
                    "value": "<string>"
                }
            ]
        }
    ]
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Contacts and Individuals_createAContact_example
const url = 'https://api.virtuoussoftware.com/api/Contact';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"contactType":"<string>","referenceSource":"<string>","referenceId":"<string>","name":"<string>","informalName":"<string>","description":"<string>","website":"<string>","maritalStatus":"<string>","anniversaryMonth":"<integer>","anniversaryDay":"<integer>","anniversaryYear":"<integer>","originSegmentId":"<integer>","isPrivate":"<boolean>","isArchived":"<boolean>","contactAddresses":[{"label":"<string>","address1":"<string>","address2":"<string>","city":"<string>","stateCode":"<string>","postal":"<string>","countryCode":"<string>","isPrimary":"<boolean>","latitude":"<double>","longitude":"<double>"},{"label":"<string>","address1":"<string>","address2":"<string>","city":"<string>","stateCode":"<string>","postal":"<string>","countryCode":"<string>","isPrimary":"<boolean>","latitude":"<double>","longitude":"<double>"}],"contactIndividuals":[{"firstName":"<string>","lastName":"<string>","prefix":"<string>","middleName":"<string>","suffix":"<string>","birthMonth":"<integer>","birthDay":"<integer>","birthYear":"<integer>","approximateAge":"<integer>","gender":"<string>","passion":"<string>","isPrimary":"<boolean>","isSecondary":"<boolean>","isDeceased":"<boolean>","contactMethods":[{"type":"<string>","value":"<string>","isOptedIn":"<boolean>","isPrimary":"<boolean>"},{"type":"<string>","value":"<string>","isOptedIn":"<boolean>","isPrimary":"<boolean>"}],"customFields":"<object>"},{"firstName":"<string>","lastName":"<string>","prefix":"<string>","middleName":"<string>","suffix":"<string>","birthMonth":"<integer>","birthDay":"<integer>","birthYear":"<integer>","approximateAge":"<integer>","gender":"<string>","passion":"<string>","isPrimary":"<boolean>","isSecondary":"<boolean>","isDeceased":"<boolean>","contactMethods":[{"type":"<string>","value":"<string>","isOptedIn":"<boolean>","isPrimary":"<boolean>"},{"type":"<string>","value":"<string>","isOptedIn":"<boolean>","isPrimary":"<boolean>"}],"customFields":"<object>"}],"customFields":"<object>","customCollections":[{"name":"<string>","fields":[{"name":"<string>","value":"<string>"},{"name":"<string>","value":"<string>"}]},{"name":"<string>","fields":[{"name":"<string>","value":"<string>"},{"name":"<string>","value":"<string>"}]}]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Contacts and Individuals_createAContact_example
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.virtuoussoftware.com/api/Contact"

	payload := strings.NewReader("{\n  \"contactType\": \"<string>\",\n  \"referenceSource\": \"<string>\",\n  \"referenceId\": \"<string>\",\n  \"name\": \"<string>\",\n  \"informalName\": \"<string>\",\n  \"description\": \"<string>\",\n  \"website\": \"<string>\",\n  \"maritalStatus\": \"<string>\",\n  \"anniversaryMonth\": \"<integer>\",\n  \"anniversaryDay\": \"<integer>\",\n  \"anniversaryYear\": \"<integer>\",\n  \"originSegmentId\": \"<integer>\",\n  \"isPrivate\": \"<boolean>\",\n  \"isArchived\": \"<boolean>\",\n  \"contactAddresses\": [\n    {\n      \"label\": \"<string>\",\n      \"address1\": \"<string>\",\n      \"address2\": \"<string>\",\n      \"city\": \"<string>\",\n      \"stateCode\": \"<string>\",\n      \"postal\": \"<string>\",\n      \"countryCode\": \"<string>\",\n      \"isPrimary\": \"<boolean>\",\n      \"latitude\": \"<double>\",\n      \"longitude\": \"<double>\"\n    },\n    {\n      \"label\": \"<string>\",\n      \"address1\": \"<string>\",\n      \"address2\": \"<string>\",\n      \"city\": \"<string>\",\n      \"stateCode\": \"<string>\",\n      \"postal\": \"<string>\",\n      \"countryCode\": \"<string>\",\n      \"isPrimary\": \"<boolean>\",\n      \"latitude\": \"<double>\",\n      \"longitude\": \"<double>\"\n    }\n  ],\n  \"contactIndividuals\": [\n    {\n      \"firstName\": \"<string>\",\n      \"lastName\": \"<string>\",\n      \"prefix\": \"<string>\",\n      \"middleName\": \"<string>\",\n      \"suffix\": \"<string>\",\n      \"birthMonth\": \"<integer>\",\n      \"birthDay\": \"<integer>\",\n      \"birthYear\": \"<integer>\",\n      \"approximateAge\": \"<integer>\",\n      \"gender\": \"<string>\",\n      \"passion\": \"<string>\",\n      \"isPrimary\": \"<boolean>\",\n      \"isSecondary\": \"<boolean>\",\n      \"isDeceased\": \"<boolean>\",\n      \"contactMethods\": [\n        {\n          \"type\": \"<string>\",\n          \"value\": \"<string>\",\n          \"isOptedIn\": \"<boolean>\",\n          \"isPrimary\": \"<boolean>\"\n        },\n        {\n          \"type\": \"<string>\",\n          \"value\": \"<string>\",\n          \"isOptedIn\": \"<boolean>\",\n          \"isPrimary\": \"<boolean>\"\n        }\n      ],\n      \"customFields\": \"<object>\"\n    },\n    {\n      \"firstName\": \"<string>\",\n      \"lastName\": \"<string>\",\n      \"prefix\": \"<string>\",\n      \"middleName\": \"<string>\",\n      \"suffix\": \"<string>\",\n      \"birthMonth\": \"<integer>\",\n      \"birthDay\": \"<integer>\",\n      \"birthYear\": \"<integer>\",\n      \"approximateAge\": \"<integer>\",\n      \"gender\": \"<string>\",\n      \"passion\": \"<string>\",\n      \"isPrimary\": \"<boolean>\",\n      \"isSecondary\": \"<boolean>\",\n      \"isDeceased\": \"<boolean>\",\n      \"contactMethods\": [\n        {\n          \"type\": \"<string>\",\n          \"value\": \"<string>\",\n          \"isOptedIn\": \"<boolean>\",\n          \"isPrimary\": \"<boolean>\"\n        },\n        {\n          \"type\": \"<string>\",\n          \"value\": \"<string>\",\n          \"isOptedIn\": \"<boolean>\",\n          \"isPrimary\": \"<boolean>\"\n        }\n      ],\n      \"customFields\": \"<object>\"\n    }\n  ],\n  \"customFields\": \"<object>\",\n  \"customCollections\": [\n    {\n      \"name\": \"<string>\",\n      \"fields\": [\n        {\n          \"name\": \"<string>\",\n          \"value\": \"<string>\"\n        },\n        {\n          \"name\": \"<string>\",\n          \"value\": \"<string>\"\n        }\n      ]\n    },\n    {\n      \"name\": \"<string>\",\n      \"fields\": [\n        {\n          \"name\": \"<string>\",\n          \"value\": \"<string>\"\n        },\n        {\n          \"name\": \"<string>\",\n          \"value\": \"<string>\"\n        }\n      ]\n    }\n  ]\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Contacts and Individuals_createAContact_example
require 'uri'
require 'net/http'

url = URI("https://api.virtuoussoftware.com/api/Contact")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"contactType\": \"<string>\",\n  \"referenceSource\": \"<string>\",\n  \"referenceId\": \"<string>\",\n  \"name\": \"<string>\",\n  \"informalName\": \"<string>\",\n  \"description\": \"<string>\",\n  \"website\": \"<string>\",\n  \"maritalStatus\": \"<string>\",\n  \"anniversaryMonth\": \"<integer>\",\n  \"anniversaryDay\": \"<integer>\",\n  \"anniversaryYear\": \"<integer>\",\n  \"originSegmentId\": \"<integer>\",\n  \"isPrivate\": \"<boolean>\",\n  \"isArchived\": \"<boolean>\",\n  \"contactAddresses\": [\n    {\n      \"label\": \"<string>\",\n      \"address1\": \"<string>\",\n      \"address2\": \"<string>\",\n      \"city\": \"<string>\",\n      \"stateCode\": \"<string>\",\n      \"postal\": \"<string>\",\n      \"countryCode\": \"<string>\",\n      \"isPrimary\": \"<boolean>\",\n      \"latitude\": \"<double>\",\n      \"longitude\": \"<double>\"\n    },\n    {\n      \"label\": \"<string>\",\n      \"address1\": \"<string>\",\n      \"address2\": \"<string>\",\n      \"city\": \"<string>\",\n      \"stateCode\": \"<string>\",\n      \"postal\": \"<string>\",\n      \"countryCode\": \"<string>\",\n      \"isPrimary\": \"<boolean>\",\n      \"latitude\": \"<double>\",\n      \"longitude\": \"<double>\"\n    }\n  ],\n  \"contactIndividuals\": [\n    {\n      \"firstName\": \"<string>\",\n      \"lastName\": \"<string>\",\n      \"prefix\": \"<string>\",\n      \"middleName\": \"<string>\",\n      \"suffix\": \"<string>\",\n      \"birthMonth\": \"<integer>\",\n      \"birthDay\": \"<integer>\",\n      \"birthYear\": \"<integer>\",\n      \"approximateAge\": \"<integer>\",\n      \"gender\": \"<string>\",\n      \"passion\": \"<string>\",\n      \"isPrimary\": \"<boolean>\",\n      \"isSecondary\": \"<boolean>\",\n      \"isDeceased\": \"<boolean>\",\n      \"contactMethods\": [\n        {\n          \"type\": \"<string>\",\n          \"value\": \"<string>\",\n          \"isOptedIn\": \"<boolean>\",\n          \"isPrimary\": \"<boolean>\"\n        },\n        {\n          \"type\": \"<string>\",\n          \"value\": \"<string>\",\n          \"isOptedIn\": \"<boolean>\",\n          \"isPrimary\": \"<boolean>\"\n        }\n      ],\n      \"customFields\": \"<object>\"\n    },\n    {\n      \"firstName\": \"<string>\",\n      \"lastName\": \"<string>\",\n      \"prefix\": \"<string>\",\n      \"middleName\": \"<string>\",\n      \"suffix\": \"<string>\",\n      \"birthMonth\": \"<integer>\",\n      \"birthDay\": \"<integer>\",\n      \"birthYear\": \"<integer>\",\n      \"approximateAge\": \"<integer>\",\n      \"gender\": \"<string>\",\n      \"passion\": \"<string>\",\n      \"isPrimary\": \"<boolean>\",\n      \"isSecondary\": \"<boolean>\",\n      \"isDeceased\": \"<boolean>\",\n      \"contactMethods\": [\n        {\n          \"type\": \"<string>\",\n          \"value\": \"<string>\",\n          \"isOptedIn\": \"<boolean>\",\n          \"isPrimary\": \"<boolean>\"\n        },\n        {\n          \"type\": \"<string>\",\n          \"value\": \"<string>\",\n          \"isOptedIn\": \"<boolean>\",\n          \"isPrimary\": \"<boolean>\"\n        }\n      ],\n      \"customFields\": \"<object>\"\n    }\n  ],\n  \"customFields\": \"<object>\",\n  \"customCollections\": [\n    {\n      \"name\": \"<string>\",\n      \"fields\": [\n        {\n          \"name\": \"<string>\",\n          \"value\": \"<string>\"\n        },\n        {\n          \"name\": \"<string>\",\n          \"value\": \"<string>\"\n        }\n      ]\n    },\n    {\n      \"name\": \"<string>\",\n      \"fields\": [\n        {\n          \"name\": \"<string>\",\n          \"value\": \"<string>\"\n        },\n        {\n          \"name\": \"<string>\",\n          \"value\": \"<string>\"\n        }\n      ]\n    }\n  ]\n}"

response = http.request(request)
puts response.read_body
```

```java Contacts and Individuals_createAContact_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.virtuoussoftware.com/api/Contact")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"contactType\": \"<string>\",\n  \"referenceSource\": \"<string>\",\n  \"referenceId\": \"<string>\",\n  \"name\": \"<string>\",\n  \"informalName\": \"<string>\",\n  \"description\": \"<string>\",\n  \"website\": \"<string>\",\n  \"maritalStatus\": \"<string>\",\n  \"anniversaryMonth\": \"<integer>\",\n  \"anniversaryDay\": \"<integer>\",\n  \"anniversaryYear\": \"<integer>\",\n  \"originSegmentId\": \"<integer>\",\n  \"isPrivate\": \"<boolean>\",\n  \"isArchived\": \"<boolean>\",\n  \"contactAddresses\": [\n    {\n      \"label\": \"<string>\",\n      \"address1\": \"<string>\",\n      \"address2\": \"<string>\",\n      \"city\": \"<string>\",\n      \"stateCode\": \"<string>\",\n      \"postal\": \"<string>\",\n      \"countryCode\": \"<string>\",\n      \"isPrimary\": \"<boolean>\",\n      \"latitude\": \"<double>\",\n      \"longitude\": \"<double>\"\n    },\n    {\n      \"label\": \"<string>\",\n      \"address1\": \"<string>\",\n      \"address2\": \"<string>\",\n      \"city\": \"<string>\",\n      \"stateCode\": \"<string>\",\n      \"postal\": \"<string>\",\n      \"countryCode\": \"<string>\",\n      \"isPrimary\": \"<boolean>\",\n      \"latitude\": \"<double>\",\n      \"longitude\": \"<double>\"\n    }\n  ],\n  \"contactIndividuals\": [\n    {\n      \"firstName\": \"<string>\",\n      \"lastName\": \"<string>\",\n      \"prefix\": \"<string>\",\n      \"middleName\": \"<string>\",\n      \"suffix\": \"<string>\",\n      \"birthMonth\": \"<integer>\",\n      \"birthDay\": \"<integer>\",\n      \"birthYear\": \"<integer>\",\n      \"approximateAge\": \"<integer>\",\n      \"gender\": \"<string>\",\n      \"passion\": \"<string>\",\n      \"isPrimary\": \"<boolean>\",\n      \"isSecondary\": \"<boolean>\",\n      \"isDeceased\": \"<boolean>\",\n      \"contactMethods\": [\n        {\n          \"type\": \"<string>\",\n          \"value\": \"<string>\",\n          \"isOptedIn\": \"<boolean>\",\n          \"isPrimary\": \"<boolean>\"\n        },\n        {\n          \"type\": \"<string>\",\n          \"value\": \"<string>\",\n          \"isOptedIn\": \"<boolean>\",\n          \"isPrimary\": \"<boolean>\"\n        }\n      ],\n      \"customFields\": \"<object>\"\n    },\n    {\n      \"firstName\": \"<string>\",\n      \"lastName\": \"<string>\",\n      \"prefix\": \"<string>\",\n      \"middleName\": \"<string>\",\n      \"suffix\": \"<string>\",\n      \"birthMonth\": \"<integer>\",\n      \"birthDay\": \"<integer>\",\n      \"birthYear\": \"<integer>\",\n      \"approximateAge\": \"<integer>\",\n      \"gender\": \"<string>\",\n      \"passion\": \"<string>\",\n      \"isPrimary\": \"<boolean>\",\n      \"isSecondary\": \"<boolean>\",\n      \"isDeceased\": \"<boolean>\",\n      \"contactMethods\": [\n        {\n          \"type\": \"<string>\",\n          \"value\": \"<string>\",\n          \"isOptedIn\": \"<boolean>\",\n          \"isPrimary\": \"<boolean>\"\n        },\n        {\n          \"type\": \"<string>\",\n          \"value\": \"<string>\",\n          \"isOptedIn\": \"<boolean>\",\n          \"isPrimary\": \"<boolean>\"\n        }\n      ],\n      \"customFields\": \"<object>\"\n    }\n  ],\n  \"customFields\": \"<object>\",\n  \"customCollections\": [\n    {\n      \"name\": \"<string>\",\n      \"fields\": [\n        {\n          \"name\": \"<string>\",\n          \"value\": \"<string>\"\n        },\n        {\n          \"name\": \"<string>\",\n          \"value\": \"<string>\"\n        }\n      ]\n    },\n    {\n      \"name\": \"<string>\",\n      \"fields\": [\n        {\n          \"name\": \"<string>\",\n          \"value\": \"<string>\"\n        },\n        {\n          \"name\": \"<string>\",\n          \"value\": \"<string>\"\n        }\n      ]\n    }\n  ]\n}")
  .asString();
```

```php Contacts and Individuals_createAContact_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.virtuoussoftware.com/api/Contact', [
  'body' => '{
  "contactType": "<string>",
  "referenceSource": "<string>",
  "referenceId": "<string>",
  "name": "<string>",
  "informalName": "<string>",
  "description": "<string>",
  "website": "<string>",
  "maritalStatus": "<string>",
  "anniversaryMonth": "<integer>",
  "anniversaryDay": "<integer>",
  "anniversaryYear": "<integer>",
  "originSegmentId": "<integer>",
  "isPrivate": "<boolean>",
  "isArchived": "<boolean>",
  "contactAddresses": [
    {
      "label": "<string>",
      "address1": "<string>",
      "address2": "<string>",
      "city": "<string>",
      "stateCode": "<string>",
      "postal": "<string>",
      "countryCode": "<string>",
      "isPrimary": "<boolean>",
      "latitude": "<double>",
      "longitude": "<double>"
    },
    {
      "label": "<string>",
      "address1": "<string>",
      "address2": "<string>",
      "city": "<string>",
      "stateCode": "<string>",
      "postal": "<string>",
      "countryCode": "<string>",
      "isPrimary": "<boolean>",
      "latitude": "<double>",
      "longitude": "<double>"
    }
  ],
  "contactIndividuals": [
    {
      "firstName": "<string>",
      "lastName": "<string>",
      "prefix": "<string>",
      "middleName": "<string>",
      "suffix": "<string>",
      "birthMonth": "<integer>",
      "birthDay": "<integer>",
      "birthYear": "<integer>",
      "approximateAge": "<integer>",
      "gender": "<string>",
      "passion": "<string>",
      "isPrimary": "<boolean>",
      "isSecondary": "<boolean>",
      "isDeceased": "<boolean>",
      "contactMethods": [
        {
          "type": "<string>",
          "value": "<string>",
          "isOptedIn": "<boolean>",
          "isPrimary": "<boolean>"
        },
        {
          "type": "<string>",
          "value": "<string>",
          "isOptedIn": "<boolean>",
          "isPrimary": "<boolean>"
        }
      ],
      "customFields": "<object>"
    },
    {
      "firstName": "<string>",
      "lastName": "<string>",
      "prefix": "<string>",
      "middleName": "<string>",
      "suffix": "<string>",
      "birthMonth": "<integer>",
      "birthDay": "<integer>",
      "birthYear": "<integer>",
      "approximateAge": "<integer>",
      "gender": "<string>",
      "passion": "<string>",
      "isPrimary": "<boolean>",
      "isSecondary": "<boolean>",
      "isDeceased": "<boolean>",
      "contactMethods": [
        {
          "type": "<string>",
          "value": "<string>",
          "isOptedIn": "<boolean>",
          "isPrimary": "<boolean>"
        },
        {
          "type": "<string>",
          "value": "<string>",
          "isOptedIn": "<boolean>",
          "isPrimary": "<boolean>"
        }
      ],
      "customFields": "<object>"
    }
  ],
  "customFields": "<object>",
  "customCollections": [
    {
      "name": "<string>",
      "fields": [
        {
          "name": "<string>",
          "value": "<string>"
        },
        {
          "name": "<string>",
          "value": "<string>"
        }
      ]
    },
    {
      "name": "<string>",
      "fields": [
        {
          "name": "<string>",
          "value": "<string>"
        },
        {
          "name": "<string>",
          "value": "<string>"
        }
      ]
    }
  ]
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp Contacts and Individuals_createAContact_example
using RestSharp;

var client = new RestClient("https://api.virtuoussoftware.com/api/Contact");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"contactType\": \"<string>\",\n  \"referenceSource\": \"<string>\",\n  \"referenceId\": \"<string>\",\n  \"name\": \"<string>\",\n  \"informalName\": \"<string>\",\n  \"description\": \"<string>\",\n  \"website\": \"<string>\",\n  \"maritalStatus\": \"<string>\",\n  \"anniversaryMonth\": \"<integer>\",\n  \"anniversaryDay\": \"<integer>\",\n  \"anniversaryYear\": \"<integer>\",\n  \"originSegmentId\": \"<integer>\",\n  \"isPrivate\": \"<boolean>\",\n  \"isArchived\": \"<boolean>\",\n  \"contactAddresses\": [\n    {\n      \"label\": \"<string>\",\n      \"address1\": \"<string>\",\n      \"address2\": \"<string>\",\n      \"city\": \"<string>\",\n      \"stateCode\": \"<string>\",\n      \"postal\": \"<string>\",\n      \"countryCode\": \"<string>\",\n      \"isPrimary\": \"<boolean>\",\n      \"latitude\": \"<double>\",\n      \"longitude\": \"<double>\"\n    },\n    {\n      \"label\": \"<string>\",\n      \"address1\": \"<string>\",\n      \"address2\": \"<string>\",\n      \"city\": \"<string>\",\n      \"stateCode\": \"<string>\",\n      \"postal\": \"<string>\",\n      \"countryCode\": \"<string>\",\n      \"isPrimary\": \"<boolean>\",\n      \"latitude\": \"<double>\",\n      \"longitude\": \"<double>\"\n    }\n  ],\n  \"contactIndividuals\": [\n    {\n      \"firstName\": \"<string>\",\n      \"lastName\": \"<string>\",\n      \"prefix\": \"<string>\",\n      \"middleName\": \"<string>\",\n      \"suffix\": \"<string>\",\n      \"birthMonth\": \"<integer>\",\n      \"birthDay\": \"<integer>\",\n      \"birthYear\": \"<integer>\",\n      \"approximateAge\": \"<integer>\",\n      \"gender\": \"<string>\",\n      \"passion\": \"<string>\",\n      \"isPrimary\": \"<boolean>\",\n      \"isSecondary\": \"<boolean>\",\n      \"isDeceased\": \"<boolean>\",\n      \"contactMethods\": [\n        {\n          \"type\": \"<string>\",\n          \"value\": \"<string>\",\n          \"isOptedIn\": \"<boolean>\",\n          \"isPrimary\": \"<boolean>\"\n        },\n        {\n          \"type\": \"<string>\",\n          \"value\": \"<string>\",\n          \"isOptedIn\": \"<boolean>\",\n          \"isPrimary\": \"<boolean>\"\n        }\n      ],\n      \"customFields\": \"<object>\"\n    },\n    {\n      \"firstName\": \"<string>\",\n      \"lastName\": \"<string>\",\n      \"prefix\": \"<string>\",\n      \"middleName\": \"<string>\",\n      \"suffix\": \"<string>\",\n      \"birthMonth\": \"<integer>\",\n      \"birthDay\": \"<integer>\",\n      \"birthYear\": \"<integer>\",\n      \"approximateAge\": \"<integer>\",\n      \"gender\": \"<string>\",\n      \"passion\": \"<string>\",\n      \"isPrimary\": \"<boolean>\",\n      \"isSecondary\": \"<boolean>\",\n      \"isDeceased\": \"<boolean>\",\n      \"contactMethods\": [\n        {\n          \"type\": \"<string>\",\n          \"value\": \"<string>\",\n          \"isOptedIn\": \"<boolean>\",\n          \"isPrimary\": \"<boolean>\"\n        },\n        {\n          \"type\": \"<string>\",\n          \"value\": \"<string>\",\n          \"isOptedIn\": \"<boolean>\",\n          \"isPrimary\": \"<boolean>\"\n        }\n      ],\n      \"customFields\": \"<object>\"\n    }\n  ],\n  \"customFields\": \"<object>\",\n  \"customCollections\": [\n    {\n      \"name\": \"<string>\",\n      \"fields\": [\n        {\n          \"name\": \"<string>\",\n          \"value\": \"<string>\"\n        },\n        {\n          \"name\": \"<string>\",\n          \"value\": \"<string>\"\n        }\n      ]\n    },\n    {\n      \"name\": \"<string>\",\n      \"fields\": [\n        {\n          \"name\": \"<string>\",\n          \"value\": \"<string>\"\n        },\n        {\n          \"name\": \"<string>\",\n          \"value\": \"<string>\"\n        }\n      ]\n    }\n  ]\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Contacts and Individuals_createAContact_example
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "contactType": "<string>",
  "referenceSource": "<string>",
  "referenceId": "<string>",
  "name": "<string>",
  "informalName": "<string>",
  "description": "<string>",
  "website": "<string>",
  "maritalStatus": "<string>",
  "anniversaryMonth": "<integer>",
  "anniversaryDay": "<integer>",
  "anniversaryYear": "<integer>",
  "originSegmentId": "<integer>",
  "isPrivate": "<boolean>",
  "isArchived": "<boolean>",
  "contactAddresses": [
    [
      "label": "<string>",
      "address1": "<string>",
      "address2": "<string>",
      "city": "<string>",
      "stateCode": "<string>",
      "postal": "<string>",
      "countryCode": "<string>",
      "isPrimary": "<boolean>",
      "latitude": "<double>",
      "longitude": "<double>"
    ],
    [
      "label": "<string>",
      "address1": "<string>",
      "address2": "<string>",
      "city": "<string>",
      "stateCode": "<string>",
      "postal": "<string>",
      "countryCode": "<string>",
      "isPrimary": "<boolean>",
      "latitude": "<double>",
      "longitude": "<double>"
    ]
  ],
  "contactIndividuals": [
    [
      "firstName": "<string>",
      "lastName": "<string>",
      "prefix": "<string>",
      "middleName": "<string>",
      "suffix": "<string>",
      "birthMonth": "<integer>",
      "birthDay": "<integer>",
      "birthYear": "<integer>",
      "approximateAge": "<integer>",
      "gender": "<string>",
      "passion": "<string>",
      "isPrimary": "<boolean>",
      "isSecondary": "<boolean>",
      "isDeceased": "<boolean>",
      "contactMethods": [
        [
          "type": "<string>",
          "value": "<string>",
          "isOptedIn": "<boolean>",
          "isPrimary": "<boolean>"
        ],
        [
          "type": "<string>",
          "value": "<string>",
          "isOptedIn": "<boolean>",
          "isPrimary": "<boolean>"
        ]
      ],
      "customFields": "<object>"
    ],
    [
      "firstName": "<string>",
      "lastName": "<string>",
      "prefix": "<string>",
      "middleName": "<string>",
      "suffix": "<string>",
      "birthMonth": "<integer>",
      "birthDay": "<integer>",
      "birthYear": "<integer>",
      "approximateAge": "<integer>",
      "gender": "<string>",
      "passion": "<string>",
      "isPrimary": "<boolean>",
      "isSecondary": "<boolean>",
      "isDeceased": "<boolean>",
      "contactMethods": [
        [
          "type": "<string>",
          "value": "<string>",
          "isOptedIn": "<boolean>",
          "isPrimary": "<boolean>"
        ],
        [
          "type": "<string>",
          "value": "<string>",
          "isOptedIn": "<boolean>",
          "isPrimary": "<boolean>"
        ]
      ],
      "customFields": "<object>"
    ]
  ],
  "customFields": "<object>",
  "customCollections": [
    [
      "name": "<string>",
      "fields": [
        [
          "name": "<string>",
          "value": "<string>"
        ],
        [
          "name": "<string>",
          "value": "<string>"
        ]
      ]
    ],
    [
      "name": "<string>",
      "fields": [
        [
          "name": "<string>",
          "value": "<string>"
        ],
        [
          "name": "<string>",
          "value": "<string>"
        ]
      ]
    ]
  ]
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.virtuoussoftware.com/api/Contact")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```