# Confirm appointment This endpoint is used to confirm an appointment in pending booking status. Developers must send a valid as input in the request body. Endpoint: POST /v1/appointments/confirm Version: 1.22 Security: ClientCredentialsFlow, AuthorizationCodeFlow ## Request fields (application/json): - `appointment_id` (string) Example: "d04b049a-41b1-4aba-9268-d8973cf72cdd" ## Response 200 fields (application/json): - `request_id` (string, required) - `data` (object, required) Data that will be returned upon a sucessful booking request - `data.appointment_id` (string, required) The Zocdoc ID of the appointment. - `data.appointment_status` (string, required) The status of the appointment. See [Appointment Status definitions](/guides/glossary). Enum: "pending_booking", "confirmed", "booking_failed", "cancelled", "no_show", "pending_reschedule", "rescheduled", "reschedule_failed" - `data.developer_patient_id` (string) ## Response 404 fields (application/json): - `request_id` (string, required) - `error_type` (string, required) Enum: "api_error", "invalid_request" - `errors` (array, required) - `errors.field` (string) - `errors.message` (string, required) ## Response 409 fields (application/json): - `request_id` (string, required) - `error_type` (string, required) Enum: "api_error", "invalid_request" - `errors` (array, required) - `errors.field` (string) - `errors.message` (string, required)