---
title: "Create an appointment."
method: POST
path: "/appointments"
tags: ["Appointments"]
---

# Create an appointment.

`POST /appointments`

## Request

- Base URL: `https://api.leadping.ai`
- URL: `https://api.leadping.ai/appointments`
- Auth: HTTP bearer

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.

## Request body

- AppointmentRequest: 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 `200`

The saved appointment.

- AppointmentResponse: 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[]
    - `revision` integer
    - `type` string
    - `at` string, date-time
    - `actorId` string, nullable
    - `actorName` string, nullable
    - `startAt` string, date-time
    - `endAt` string, date-time
    - `reminderAt` string, date-time
    - `assignedToName` string
    - `title` string
    - `notes` string, nullable
  - `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

## Other responses

- `400`: The appointment request is invalid.
- `401`: Authentication credentials are missing or invalid.
- `403`: The caller does not have permission to perform this operation.
- `404`: The requested record could not be found.
- `409`: The appointment changed or the selected time slot is no longer available.
- `415`: The request uses an unsupported content type.
- `429`: The API rate limit for this account or client has been exceeded.

## Changes

- **2026-12-01** `bf1852acaf45`: 3 breaking, 4 info
  - removed the media type `text/json` from the request body
  - removed the media type `text/json` for the response with the status `200`
  - removed the media type `text/plain` for the response with the status `200`
  - added the non-success response with the status `400`
  - …3 more
- **2026-11-19** `9c3240f9a79c`: 9 info
  - added the new optional request property `allOf[#/components/schemas/AppointmentRequest]/endAt` (media type: application/json)
  - added the new optional request property `allOf[#/components/schemas/AppointmentRequest]/endAt` (media type: text/json)
  - added the new optional request property `allOf[#/components/schemas/AppointmentRequest]/endAt` (media type: application/*+json)
  - added the optional property `allOf[#/components/schemas/AppointmentResponse]/endAt` to the response with the `200` status (media type: text/plain)
  - …5 more
- **2026-11-13** `976fcbe2850b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/leadping/apis/leadping-api/changes/appointments/post.md)

---

[API](https://skmtc.dev/leadping/apis/leadping-api.md) - [All operations](https://skmtc.dev/leadping/apis/leadping-api/llms.txt) - [OpenAPI document](https://skmtc.dev/leadping/apis/leadping-api/revisions/bf1852acaf45?raw)
