Create Client
Create a new client record.
POST
/datatable-clients
Request Body Fields
| Field | Type | Required | Description |
|---|---|---|---|
first_name |
string | No | Client first name |
last_name |
string | No | Client last name |
company |
string | No | Company name |
email |
string | Yes | Email address |
phone |
string | No | Phone number |
mobile |
string | No | Mobile number |
status |
string | No | Client status (new, pending, approved, unapproved) |
categories |
array | No | Array of category IDs |
subscription_type |
string | No | Subscription type (email, print, both) |
Example Request
{
"first_name": "Jane",
"last_name": "Smith",
"email": "jane.smith@example.com",
"phone": "+1-555-0199",
"mobile": "+1-555-0200",
"status": "new",
"categories": ["10", "15"],
"subscription_type": "email"
}
Response
{
"data": [{
"id": "456",
"first_name": "Jane",
"last_name": "Smith",
"email": "jane.smith@example.com",
"philaworksplace_id": "C12348",
"status": {
"id": "new",
"label": "New"
},
"created": "2025-10-30T10:00:00Z"
}]
}
Managing Client Addresses
Addresses are managed separately using the Client Address endpoint. After creating a client, use the following endpoint to add addresses:
POST /api/v1.0/client-address- Create a new address- See Client Address API for full documentation