Get client record
Reads one client record with upcoming and past appointments and the technical sheet.
GET https://cotlet.dev/api/v1/planity/clients/{client_id}
read
Returns the fields of the record (name, phone, email, date of birth, address), whether the client may book online, and the appointments and technical sheet (fiche technique) the record shows. Payment tickets and product purchases stay in the cash register and are not returned.
Parameters
| Name | Type | Description |
|---|---|---|
| client_id string required | string | Id from list_clients. |
Request
curl https://cotlet.dev/api/v1/planity/clients/client_8c41d2 \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("planity", "get_client", {"client_id":"client_8c41d2"}) const result = await cotlet.call('planity', 'get_client', {"client_id":"client_8c41d2"}); cotlet call planity get_client --data '{"client_id":"client_8c41d2"}' Example response
{
"client_id": "c_1042",
"name": "Léa Martin",
"phone": "+33 6 00 00 00 00",
"email": "client@example.com",
"online_booking_allowed": true,
"upcoming_appointments": [
{
"appointment_id": "a_9120",
"start": "2026-10-26T09:30:00",
"service": "Coupe femme"
}
],
"past_appointments": [
{
"appointment_id": "a_8812",
"start": "2026-10-13T10:00:00",
"service": "Coupe femme",
"status": "no_show"
}
],
"technical_sheet": "Color 6.3, 20 vol."
}