Before using this endpoint, complete the Getting Started guide to obtain your API key and Company ID. Unlike the Create Lead endpoint, creating a client does not require a separate Role ID lookup step.
Prerequisites
- ✅ API key generated from Workspace Config → API Key
- ✅ Company ID retrieved from
GET {{URL}}/accounts/companies
Endpoint
Headers
| Header | Value |
|---|---|
x-api-key | Your API key |
companyId | Your Company ID |
Content-Type | application/json |
Request body
The request body is a JSON array. You can create one or more clients in a single request.The client’s first name.
The client’s last name.
The client’s email address. Must be unique within your workspace.
Set to
false for a brand-new client. Set to true when converting an existing lead into a client.The client’s status. Common values:
New, Active. Defaults to New if omitted.The client’s phone number.
How you acquired this client. Example values:
website, referral, social.The client’s position within the board column. Defaults to
1.Example request
cURL
Success response
Confirmation string on success.
Array of created client objects.
Unique ID of the newly created client. Use this ID when assigning the client to orders or invoices via the API.
The full name of the client (firstName + lastName).
The status of the client as stored.
The role assigned to the member — will be
"client".The
companyId header for this endpoint uses a capital I in Id — companyId — unlike some other endpoints that use companyid (all lowercase). Use the exact casing shown above to avoid authentication errors.
