appointments

Reschedule appointment

This endpoint is used to only modify the appointment time and request the reschedule of an appointment in pending_booking, confirmed, pending_reschedule, or rescheduled status. Developers must send a valid appointment_id and a new start time as input in the request body.

If the appointment was booked with a Zocdoc user credential, only that user will have access to view or modify the appointment. If the appointment was booked with a machine-to-machine credential, the appointment can be viewed and modified by any of the developer's machine-to-machine credentials.

post/v1/appointments/reschedule

Request

  • Base URL
    https://api-developer-sandbox.zocdoc.com
  • Auth
    • OAuth 2
      Client credentials
      Token URL: https://auth.zocdoc.com/oauth/token scopes: external.appointment.write
    • or OAuth 2
      Authorization code: https://auth.zocdoc.com/authorize
      Token URL: https://auth.zocdoc.com/oauth/token scopes: external.appointment.write

Request body

appointment_idstring required

The Zocdoc id of the appointment

start_timestring date-time required

Date & time of the appointment in ISO-8601 format with a timezone offset

Example request

{
  "appointment_id": "63f995c2-49c4-40c8-a93a-140fb32e913b",
  "start_time": "2022-04-27T09:00:00-04:00"
}

Response

Successful

request_idstring required

Unique request identifier for tracing

Example response

{
  "data": {
    "location_phone_number": "9999999999"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.