Appointments
Create an appointment.
Changed onSchedule 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 URLhttps://api.leadping.ai
- AuthHTTP bearer
Request body
Appointment Request 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.
Appointment Response 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, Appointment Activity[]
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/jsonfrom the request body - breaking
removed the media type
text/jsonfor the response with the status - breaking
removed the media type
text/plainfor the response with the status
4 more changes in this revision
- breaking