Skip to content
BookifyCall
Developer docs: Appointments

Appointments

Meetings booked by the AI or in the app.

List appointments (meetings)Link to List appointments (meetings)

GET/appointments

Includes the calendar meeting link (googleMeetLink) and the call that booked it (callId).

Scope
appointments:read

Query parameters

pagenumber
Default: 1
limitnumber
Default: 20 · Max 100
updatedSincestring
ISO 8601: only records changed at or after this instant. With sort=updatedAt&order=asc this is an incremental sync cursor
orderstring
One of: asc, desc · Default: desc
statusstring
agentIdstring
includeCancelledboolean
Also return cancelled (soft-deleted) appointments, e.g. for a full syncDefault: false
sortstring
One of: scheduledAt, createdAt, updatedAt · Default: scheduledAt
fromstring
ISO date, filters scheduledAt >=
tostring
ISO date, filters scheduledAt <=
curl "https://bookifycall.com/api/v1/external/appointments" \
  -H "X-API-Key: $BOOKIFYCALL_API_KEY"
Example response · 200
{
  "success": true,
  "data": [
    {
      "id": "00000000-0000-4000-8000-000000000004",
      "organizationId": "00000000-0000-4000-8000-000000000100",
      "leadId": "00000000-0000-4000-8000-000000000003",
      "agentId": "00000000-0000-4000-8000-000000000002",
      "clientName": "Jane Doe",
      "clientEmail": "jane@example.com",
      "clientCompany": "Example Dental",
      "meetingPurpose": "Product demo",
      "scheduledAt": "2026-01-20T15:00:00.000Z",
      "endAt": "2026-01-20T15:30:00.000Z",
      "timezone": "America/New_York",
      "durationMin": 30,
      "status": "scheduled",
      "googleEventId": "example-event-id",
      "googleMeetLink": "https://meet.google.com/abc-defg-hij",
      "confirmed": true,
      "notes": "Booked on a call [call:00000000-0000-4000-8000-000000000001]",
      "createdAt": "2026-01-15T16:34:10.000Z",
      "updatedAt": "2026-01-15T16:34:10.000Z",
      "deletedAt": null,
      "lead": {
        "id": "00000000-0000-4000-8000-000000000003",
        "name": "Jane Doe",
        "email": "jane@example.com",
        "company": "Example Dental"
      },
      "callId": "00000000-0000-4000-8000-000000000001"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 31,
    "pages": 2
  }
}

Book an appointment for a lead or phone numberLink to Book an appointment for a lead or phone number

POST/appointments

Same rules as the AI receptionist: at least 30 minutes ahead, inside the agent's booking hours, clear of other appointments and calendar events (with the agent's buffer). The calendar invite goes to clientEmail. Fires appointment.booked. A clash (409 APPT_002) lists up to three open alternatives in details.alternatives. A retry for the same lead and start returns the existing appointment with 200 instead of a clash. 409 APPT_010 when bookings go through Calendly or Cal.com. calendarSynced: the event is on the connected calendar; calendarChecked: free/busy was consulted.

Scope
appointments:write
Idempotency-Key
supported
Not found
404 LEAD_001

Body (JSON)

leadIdstring
An existing lead. Send leadId or phoneNumber, not both
phoneNumberstring
E.164. Linked to your newest lead with that phone, else a new lead is created
scheduledAtstringrequired
Start, ISO 8601 with a time zone. Must be at least 30 minutes ahead and inside the agent's booking hours (APPT_005)
timezonestring
The client's time zone for display; defaults to the agent's
durationMinutesnumber
Defaults to the matching appointment type's length, else the agent's default (30 when unset)Min 5 · Max 480
clientNamestring
Defaults to the lead's name, else the phone number
clientEmailstring
Gets the calendar invite
purposestring
What the meeting is for. Starting with an appointment type name uses that type
notesstring
agentIdstring
Defaults to the key's agent for agent-bound keys
curl -X POST "https://bookifycall.com/api/v1/external/appointments" \
  -H "X-API-Key: $BOOKIFYCALL_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"phoneNumber":"+15551230001","clientName":"Jane Doe","clientEmail":"jane@example.com","scheduledAt":"2026-01-20T15:00:00Z","timezone":"America/New_York","durationMinutes":30,"purpose":"Consultation","notes":"Prefers the downtown office"}'
Example response · 201
{
  "success": true,
  "data": {
    "id": "00000000-0000-4000-8000-000000000004",
    "organizationId": "00000000-0000-4000-8000-000000000100",
    "leadId": "00000000-0000-4000-8000-000000000003",
    "agentId": "00000000-0000-4000-8000-000000000002",
    "clientName": "Jane Doe",
    "clientEmail": "jane@example.com",
    "clientCompany": "Example Dental",
    "meetingPurpose": "Consultation",
    "scheduledAt": "2026-01-20T15:00:00.000Z",
    "endAt": "2026-01-20T15:30:00.000Z",
    "timezone": "America/New_York",
    "durationMin": 30,
    "status": "scheduled",
    "googleEventId": null,
    "googleMeetLink": null,
    "confirmed": false,
    "notes": "Prefers the downtown office",
    "createdAt": "2026-10-16T12:00:00.000Z",
    "updatedAt": "2026-10-16T12:00:00.000Z",
    "deletedAt": null,
    "lead": {
      "id": "00000000-0000-4000-8000-000000000003",
      "name": "Jane Doe",
      "email": "jane@example.com",
      "company": "Example Dental"
    },
    "callId": null,
    "calendarSynced": false,
    "calendarChecked": true,
    "existing": false
  }
}

Free appointment times by the AI receptionist’s rulesLink to Free appointment times by the AI receptionist’s rules

GET/appointments/availability

Open starts on the 30-minute grid inside the agent's booking hours, clear of appointments and calendar events (with the agent's buffer), at least 30 minutes ahead. Up to 14 days per request. calendarChecked is false when no calendar is connected or it could not be read. 409 APPT_010 when bookings go through Calendly or Cal.com.

Scope
appointments:read
Not found
404 AGENT_001

Query parameters

fromstring
First day (YYYY-MM-DD, the agent's time zone). Default: today
tostring
Last day, inclusive, at most 14 days after from. Default: from + 6 days
durationMinutesnumber
Default: the matching appointment type's length, else the agent's defaultMin 5 · Max 480
purposestring
Picks an appointment type length
timezonestring
Zone for the `local` times in the answer (starts are instants either way)
agentIdstring
Whose hours to use. Default: the key's agent, else the first agent
curl "https://bookifycall.com/api/v1/external/appointments/availability" \
  -H "X-API-Key: $BOOKIFYCALL_API_KEY"
Example response · 200
{
  "success": true,
  "data": {
    "from": "2026-01-19",
    "to": "2026-01-20",
    "timezone": "America/New_York",
    "durationMinutes": 30,
    "calendarChecked": true,
    "slots": [
      {
        "start": "2026-01-19T14:00:00.000Z",
        "local": "2026-01-19T09:00",
        "timezone": "America/New_York"
      },
      {
        "start": "2026-01-19T14:30:00.000Z",
        "local": "2026-01-19T09:30",
        "timezone": "America/New_York"
      }
    ]
  }
}

Get an appointmentLink to Get an appointment

GET/appointments/{id}

Scope
appointments:read
Not found
404 APPT_001

Path parameters

idstringrequired
curl "https://bookifycall.com/api/v1/external/appointments/00000000-0000-4000-8000-000000000004" \
  -H "X-API-Key: $BOOKIFYCALL_API_KEY"
Example response · 200
{
  "success": true,
  "data": {
    "id": "00000000-0000-4000-8000-000000000004",
    "organizationId": "00000000-0000-4000-8000-000000000100",
    "leadId": "00000000-0000-4000-8000-000000000003",
    "agentId": "00000000-0000-4000-8000-000000000002",
    "clientName": "Jane Doe",
    "clientEmail": "jane@example.com",
    "clientCompany": "Example Dental",
    "meetingPurpose": "Product demo",
    "scheduledAt": "2026-01-20T15:00:00.000Z",
    "endAt": "2026-01-20T15:30:00.000Z",
    "timezone": "America/New_York",
    "durationMin": 30,
    "status": "scheduled",
    "googleEventId": "example-event-id",
    "googleMeetLink": "https://meet.google.com/abc-defg-hij",
    "confirmed": true,
    "notes": "Booked on a call [call:00000000-0000-4000-8000-000000000001]",
    "createdAt": "2026-01-15T16:34:10.000Z",
    "updatedAt": "2026-01-15T16:34:10.000Z",
    "deletedAt": null,
    "lead": {
      "id": "00000000-0000-4000-8000-000000000003",
      "name": "Jane Doe",
      "email": "jane@example.com",
      "company": "Example Dental"
    },
    "callId": "00000000-0000-4000-8000-000000000001"
  }
}

Move an appointment to a new timeLink to Move an appointment to a new time

PATCH/appointments/{id}

Same time rules as booking. The calendar event moves and attendees get the update. Fires appointment.rescheduled. Cancelled, finished or started appointments are 409 APPT_006; Calendly / Cal.com bookings are 409 APPT_010 (change them there).

Scope
appointments:write
Not found
404 APPT_001

Path parameters

idstringrequired

Body (JSON)

scheduledAtstringrequired
New start, with a time zone
endAtstring
New end, with a time zone: after scheduledAt and at most 480 minutes later. Send endAt or durationMinutes, not both
durationMinutesnumber
New length; the current length is kept when neither is sentMin 5 · Max 480
timezonestring
curl -X PATCH "https://bookifycall.com/api/v1/external/appointments/00000000-0000-4000-8000-000000000004" \
  -H "X-API-Key: $BOOKIFYCALL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"scheduledAt":"2026-01-21T16:00:00Z"}'
Example response · 200
{
  "success": true,
  "data": {
    "id": "00000000-0000-4000-8000-000000000004",
    "organizationId": "00000000-0000-4000-8000-000000000100",
    "leadId": "00000000-0000-4000-8000-000000000003",
    "agentId": "00000000-0000-4000-8000-000000000002",
    "clientName": "Jane Doe",
    "clientEmail": "jane@example.com",
    "clientCompany": "Example Dental",
    "meetingPurpose": "Product demo",
    "scheduledAt": "2026-01-21T16:00:00.000Z",
    "endAt": "2026-01-21T16:30:00.000Z",
    "timezone": "America/New_York",
    "durationMin": 30,
    "status": "scheduled",
    "googleEventId": "example-event-id",
    "googleMeetLink": "https://meet.google.com/abc-defg-hij",
    "confirmed": true,
    "notes": "Booked on a call [call:00000000-0000-4000-8000-000000000001]",
    "createdAt": "2026-01-15T16:34:10.000Z",
    "updatedAt": "2026-01-15T16:34:10.000Z",
    "deletedAt": null,
    "lead": {
      "id": "00000000-0000-4000-8000-000000000003",
      "name": "Jane Doe",
      "email": "jane@example.com",
      "company": "Example Dental"
    },
    "callId": "00000000-0000-4000-8000-000000000001",
    "calendarSynced": true,
    "calendarChecked": true
  }
}

Cancel an appointmentLink to Cancel an appointment

POST/appointments/{id}/cancel

Removes the calendar event (attendees are told) and fires appointment.cancelled. Cancelling an appointment that is already cancelled succeeds with alreadyCancelled: true and changes nothing, so a retry is safe. Completed and no-show appointments are 409 APPT_006.

Scope
appointments:write
Not found
404 APPT_001

Path parameters

idstringrequired

Body (JSON)

reasonstring
Up to 500 characters
curl -X POST "https://bookifycall.com/api/v1/external/appointments/00000000-0000-4000-8000-000000000004/cancel" \
  -H "X-API-Key: $BOOKIFYCALL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"reason":"Client asked to cancel"}'
Example response · 200
{
  "success": true,
  "data": {
    "id": "00000000-0000-4000-8000-000000000004",
    "organizationId": "00000000-0000-4000-8000-000000000100",
    "leadId": "00000000-0000-4000-8000-000000000003",
    "agentId": "00000000-0000-4000-8000-000000000002",
    "clientName": "Jane Doe",
    "clientEmail": "jane@example.com",
    "clientCompany": "Example Dental",
    "meetingPurpose": "Product demo",
    "scheduledAt": "2026-01-20T15:00:00.000Z",
    "endAt": "2026-01-20T15:30:00.000Z",
    "timezone": "America/New_York",
    "durationMin": 30,
    "status": "cancelled",
    "googleEventId": "example-event-id",
    "googleMeetLink": "https://meet.google.com/abc-defg-hij",
    "confirmed": true,
    "notes": "Booked on a call [call:00000000-0000-4000-8000-000000000001]",
    "createdAt": "2026-01-15T16:34:10.000Z",
    "updatedAt": "2026-01-15T16:34:10.000Z",
    "deletedAt": "2026-10-16T12:00:00.000Z",
    "lead": {
      "id": "00000000-0000-4000-8000-000000000003",
      "name": "Jane Doe",
      "email": "jane@example.com",
      "company": "Example Dental"
    },
    "callId": "00000000-0000-4000-8000-000000000001",
    "alreadyCancelled": false
  }
}
Next: Agents