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

Parameters: get_client
NameTypeDescription
client_id string required string Id from list_clients.

Request

cURL
curl https://cotlet.dev/api/v1/planity/clients/client_8c41d2 \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("planity", "get_client", {"client_id":"client_8c41d2"})
Node.js
const result = await cotlet.call('planity', 'get_client', {"client_id":"client_8c41d2"});
CLI
cotlet call planity get_client --data '{"client_id":"client_8c41d2"}'

Example response

JSON

{
  "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."
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.