Appointments

Create an appointment.

Changed on

Schedule a callback for a lead through the Leadping API. Set the appointment time, assign the agent responsible for the call, and configure its reminder.

post/appointments

Request

  • Base URL
    https://api.leadping.ai
  • Auth
    HTTP bearer

Request body

AppointmentRequest required

Creates or reschedules an agent's callback appointment.

title, string required
leadId, string required
assignedToUserId, string nullable
startAt, string date-time
endAt, string date-time nullable
timeZoneId, string required
notes, string nullable
expectedRevision, integer

Response

The saved appointment.

AppointmentResponse required

An appointment visible to the current user, with history populated on detail requests.

isDemo, boolean
createdAt, string date-time nullable
modifiedAt, string date-time nullable
history, AppointmentActivity[]
id, string
leadId, string
leadFirstName, string nullable
leadLastName, string nullable
leadEmail, string email nullable
leadAvatarUrl, string uri nullable
leadName, string
organizationId, string
organizationName, string nullable
assignedToUserId, string
assignedToName, string
startAt, string date-time
endAt, string date-time
timeZoneId, string
title, string
notes, string nullable
status, string
revision, integer
reminderAt, string date-time
dismissedAt, string date-time nullable

Changes

    • breaking

      removed the media type text/json from the request body

    • breaking

      removed the media type text/json for the response with the status

    • breaking

      removed the media type text/plain for the response with the status

    4 more changes in this revision