# Create a New Client

### Prerequisites

Review the steps in the [Getting Started](https://docs.agencyhandy.com/english/agencyhandy-user-guide-for-agency/api-integration-guide/getting-started) guide before updating an order. It walks through configuring your API token, and selecting the correct `companyid`, which are all required for the instructions below.

### Step 1: Create a New Client

#### 📍 Endpoint:

`{{URL}}/company/{{companyId}}/members/bulk-client`

#### 🛠️ Set Headers:

```http
x-api-key: <API_KEY>
companyId: <COMPANY_ID>
```

#### 📦 Request Body:

```json
[
    {
      "firstName": "John",
      "lastName": "Doe",
      "email": "john.doe@example.com",
      "isConvertedClient": false,
      "status": "New",
      "contactNo": "1234567890",
      "source": "website",
      "positionInBoard": 1
    }
]
```

#### ✅ Success Response:

```json
{
  "message": "Lea created successfully",
  "createdMembers": [
    {
      "_id": "NEW_MEMBER_ID",
      "name": "John Doe",
      "status": "New",
      "role": "client"
    }
  ]
}
```

####
