---
title: "ContactUpsertRequest"
description: "At least one of `phoneNumber` or `email` is required to identify the contact."
---

> Documentation Index
> Fetch the complete documentation index at: https://zacx.io/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Zacx Public API

At least one of `phoneNumber` or `email` is required to identify the contact.

## Fields

- `ContactUpsertRequest.name` (string, optional)
  - example `"John Doe"`
- `ContactUpsertRequest.email` (string, optional)
  - format `email`; example `"john@example.com"`
- `ContactUpsertRequest.phoneNumber` (string, optional) — Phone number with country code. A leading `+` is accepted.
  - example `"+11234567890"`
- `ContactUpsertRequest.customFields` (array<object>, optional)
  - `ContactUpsertRequest.customFields.customFieldId` (string, required) — Id from **List custom fields**.
    - format `uuid`
  - `ContactUpsertRequest.customFields.value` (string, required)
- `ContactUpsertRequest.tags` (array<string>, optional) — Tag names. Must already exist in the workspace.
- `ContactUpsertRequest.assignedUsers` (array<string>, optional) — Login phone numbers of team members to assign.


Source: https://zacx.io/api/schemas/ContactUpsertRequest/index.md
