Manage contacts including clients, opposing parties, courts, and other entities your firm interacts with.
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"type": "client",
"firstName": "Jan",
"lastName": "Janssens",
"email": "jan@example.be",
"phone": "+32 2 123 45 67",
"company": "Janssens BV",
"vatNumber": "BE0123456789",
"address": {
"street": "Voorbeeldstraat 1",
"city": "Brussel",
"postalCode": "1000",
"country": "BE"
},
"firmId": "firm-uuid-here",
"createdAt": "2026-01-15T10:00:00Z"
}
| Field | Type | Description |
|---|---|---|
| id | string | Unique identifier (UUID) |
| type | string | client, opposing_party, opposing_counsel, court, expert, other |
| firstName | string | First name (individuals) |
| lastName | string | Last name (individuals) |
| company | string | Company name (if applicable) |
| string | Email address | |
| phone | string | Phone number |
| vatNumber | string | VAT/enterprise number |
| address | object | Address details |
GET /api/contacts
| Parameter | Type | Description |
|---|---|---|
| type | string | Filter by contact type |
GET /api/contacts?type=client
Response:
{
"success": true,
"data": [
{
"id": "...",
"firstName": "Jan",
"lastName": "Janssens",
"type": "client",
...
}
]
}
GET /api/contacts/{id}
POST /api/contacts
{
"type": "client",
"firstName": "Marie",
"lastName": "Dupont",
"email": "marie@example.be",
"phone": "+32 2 987 65 43",
"address": {
"street": "Rue de la Loi 100",
"city": "Bruxelles",
"postalCode": "1000",
"country": "BE"
}
}
{
"success": true,
"data": {
"id": "newly-generated-uuid",
"type": "client",
"firstName": "Marie",
"lastName": "Dupont",
...
}
}
PUT /api/contacts/{id}
{
"type": "client",
"firstName": "Marie",
"lastName": "Dupont-Janssens",
"email": "marie.new@example.be",
"phone": "+32 2 987 65 43"
}
DELETE /api/contacts/{id}
{
"success": true
}