For the complete documentation index, see llms.txt. This page is also available as Markdown.

Clients

Create clients in batch

post

This method allows you to create one or more clients at the same time.

Authorizations
x-api-keystringRequired
Header parameters
x-tenant-idstring · uuidOptional

Tenant id (uuid v4)

Body
Responses
201Success
application/json
idstringRequired

Unique identifier of the created client

Example: b86fa12a-76fc-46f5-8a3e-bf39e7be4c4e
external_client_idstring · nullableRequired

External client identifier

Example: 123456
namestringRequired

Client name

Example: Client name
phonestring · nullableRequired

Client's phone number

Example: 937-99-92
emailstring · nullableRequired

Client's email

Example: client@gmail.com
companystring · nullableRequired

Client's company name

Example: Client company
post/api/v1/public/clients/batch
POST /api/v1/public/clients/batch HTTP/1.1
Host: api-stage.hesh.tech
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 140

{
  "clients": [
    {
      "name": "Client name",
      "external_client_id": "123456",
      "phone": "937-99-92",
      "email": "client@gmail.com",
      "company": "Client company"
    }
  ]
}
[
  {
    "id": "b86fa12a-76fc-46f5-8a3e-bf39e7be4c4e",
    "external_client_id": "123456",
    "name": "Client name",
    "phone": "937-99-92",
    "email": "client@gmail.com",
    "company": "Client company"
  }
]

Last updated