Create a client record
POST /clients
POST
/clients
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
nameFirst
string
nameLast
string
businessName
string
email
string format: email
phone
string
externalId
Your internal system identifier for this client
string
memberType
string
addressLine1
string
addressLine2
string
city
string
region
Province or state
string
postalCode
string
country
ISO 3166-1 alpha-2 country code
string
metadata
Arbitrary key-value data for your reference
object
key
additional properties
any
Examples
Individual client
{ "nameFirst": "Jane", "nameLast": "Smith", "email": "jane@example.com", "memberType": "individual", "country": "CA"}Business client
{ "businessName": "Acme Corp", "email": "legal@acme.com", "memberType": "business", "country": "CA"}Responses
Section titled “ Responses ”Client created
object
id
string
orgId
string
nameFirst
string
nameLast
string
businessName
string
email
string
phone
string
externalId
string
memberType
string
addressLine1
string
addressLine2
string
city
string
region
string
postalCode
string
country
string
metadata
object
active
boolean
requestCount
integer
createdAt
string format: date-time
updatedAt
string format: date-time
Missing or invalid API key
object
code
string
message
string
statusCode
integer
Example
{ "code": "UNAUTHORIZED", "message": "Invalid API key.", "statusCode": 401}Request body failed validation
object
code
string
message
string
statusCode
integer
errors
Array<object>
object
field
string
message
string
Example
{ "code": "VALIDATION_ERROR", "message": "Validation failed", "statusCode": 422, "errors": [ { "field": "type", "message": "Required" }, { "field": "requirements", "message": "Array must contain at least 1 element(s)" } ]}Too many requests
object
code
string
message
string
statusCode
integer
Example
{ "code": "RATE_LIMITED", "message": "Too many requests", "statusCode": 429}Headers
Section titled “Headers ” Retry-After
integer
Seconds until the rate limit window resets
X-RateLimit-Limit
integer
X-RateLimit-Remaining
integer