Clients

Create clients in batch

post

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

Authorizations
Header parameters
x-tenant-idstring · uuidOptional

Tenant id (uuid v4)

Body
Responses
201Success
application/json
post
/api/v1/public/clients/batch
POST /api/v1/public/clients/batch HTTP/1.1
Host: 
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": "[email protected]",
      "company": "Client company"
    }
  ]
}
201Success
[
  {
    "id": "b86fa12a-76fc-46f5-8a3e-bf39e7be4c4e",
    "external_client_id": "123456",
    "name": "Client name",
    "phone": "937-99-92",
    "email": "[email protected]",
    "company": "Client company"
  }
]

Last updated