Create Client
Create a new client with required and optional fields.
Required fields:
- `title`: Client name
- `address`: Client location
Optional fields:
- `clientType`: Client type (RESIDENTIAL/COMMERCIAL)
- `value`: Client value
- `size`: Client size
- `primaryEmail`/`primaryPhone`: Contact information
- `custom`: Custom fields object
Note: If primaryEmail or primaryPhone is provided, a contact will be automatically created or matched.
Authentication
x-api-keystring
API Key authentication via header
Query parameters
allow_new_options
Whether to allow creation of new dropdown options during record creation
match_by
Field to use for matching existing records
Allowed values:
match_found_strategy
Strategy to use when a match is found
Allowed values:
Request
This endpoint expects an object.
title
Client name
address
Client location/address
description
Client description
clientType
Client type
Allowed values:
primaryEmail
Primary contact email
primaryPhone
Primary contact phone
custom
Custom fields
Response
Matching client found
address
Record location/address
clientType
Type of client (residential or commercial)
Allowed values:
companyId
Company identifier
contacts
createdAt
Creation timestamp
custom
Custom fields
description
Record description
id
Unique identifier
isActive
Whether the record is active
number
Record number (e.g., 1234)
primaryEmail
Primary contact email
primaryPhone
Primary contact phone
title
Record title/name
updatedAt
Last update timestamp
