Appointments

Update an appointment.

Changed on

Edit an existing callback appointment in Leadping. Include the revision you last retrieved so the API can detect changes made since you viewed it.

put/appointments/{id}

Request

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

Path parameters

id, string required

The appointment identifier.

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