GET
/api/public/v1/appointments/{appointmentId}Get an appointment
Retrieve a single appointment by ID.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
appointmentId | string | Required | Appointment ID. |
GETExample request
curl
curl -X GET "https://www.pxb.app/api/public/v1/appointments/{appointmentId}" \
-H "X-Organization-Id: your_org_id" \
-H "X-API-Key: your_api_key"200Example response
json
{
"message": "Appointment retrieved successfully!",
"content": {
"appointment": {
"id": "appt_1",
"status": "CONFIRMED"
}
}
}