Appointments

List, create, read and cancel appointments in your agents' calendars with the Callpme API.

On this page

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

FieldTypeDescription
agentId (required)stringAgent whose calendar receives the appointment
customerName (required)string, 1 to 120Customer name
date (required)YYYY-MM-DDDate
time (required)HH:MMTime, in the time zone of the agent's calendar
customerPhonestringCustomer phone number
customerEmailemailCustomer email address
notesstring, ≤ 500Notes
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.