Appointments
List, create, read and cancel appointments in your agents' calendars with the Callpme API.
List appointmentsLink to this section
GET/api/v1/appointments
Common parameters: limit (1 to 100, default 50), cursor, created_after, created_before. See Pagination. Filters: agentId, status (booked, cancelled), starts_after, starts_before.
curl "https://callpme.com/api/v1/appointments?status=booked&starts_after=2026-11-18T00:00:00Z" \
-H "Authorization: Bearer $CALLPME_API_KEY"Create an appointmentLink to this section
POST/api/v1/appointments
| Field | Type | Description |
|---|---|---|
agentId (required) | string | Agent whose calendar receives the appointment |
customerName (required) | string, 1 to 120 | Customer name |
date (required) | YYYY-MM-DD | Date |
time (required) | HH:MM | Time, in the time zone of the agent's calendar |
customerPhone | string | Customer phone number |
customerEmail | Customer email address | |
notes | string, ≤ 500 | Notes |
curl -X POST "https://callpme.com/api/v1/appointments" \
-H "Authorization: Bearer $CALLPME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"agentId": "cm4agent01",
"customerName": "Claire Dubois",
"customerPhone": "+33612345678",
"date": "2026-11-24",
"time": "09:30",
"notes": "First consultation"
}'If the time slot is not available, the API returns 409 with other available times on the same day:
Response 409
{
"error": "Créneau indisponible.",
"details": {
"message": "Ce créneau n'est plus disponible.",
"alternatives": [
"10:00",
"11:30"
]
}
}Retrieve an appointmentLink to this section
GET/api/v1/appointments/{id}
curl "https://callpme.com/api/v1/appointments/cm4appt01" \
-H "Authorization: Bearer $CALLPME_API_KEY"Cancel an appointmentLink to this section
POST/api/v1/appointments/{id}/cancel
Cancelling an appointment that is already cancelled returns the appointment unchanged: the operation can be safely replayed.
curl -X POST "https://callpme.com/api/v1/appointments/cm4appt01/cancel" \
-H "Authorization: Bearer $CALLPME_API_KEY"Related events: appointment.booked, appointment.cancelled.