Skip to main content
PUT
/
api
/
v1
/
appointments
/
{id}
curl -X PUT "https://api.nevatal.com/api/v1/appointments/apt_xyz789" \
  -H "Authorization: Bearer nvtl_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "startTime": "2025-04-02T10:00:00-05:00",
    "endTime": "2025-04-02T10:30:00-05:00"
  }'
{
  "id": "apt_xyz789",
  "startTime": "2025-04-02T10:00:00-05:00",
  "endTime": "2025-04-02T10:30:00-05:00",
  "status": "confirmed",
  "updatedAt": "2025-03-21T08:00:00Z"
}

Path Parameters

id
string
required
The appointment ID

Body Parameters

startTime
string
New start time (ISO 8601)
endTime
string
New end time (ISO 8601)
doctorId
string
Reassign to a different doctor
locationId
string
Move to a different location
notes
string
Update notes
curl -X PUT "https://api.nevatal.com/api/v1/appointments/apt_xyz789" \
  -H "Authorization: Bearer nvtl_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "startTime": "2025-04-02T10:00:00-05:00",
    "endTime": "2025-04-02T10:30:00-05:00"
  }'
{
  "id": "apt_xyz789",
  "startTime": "2025-04-02T10:00:00-05:00",
  "endTime": "2025-04-02T10:30:00-05:00",
  "status": "confirmed",
  "updatedAt": "2025-03-21T08:00:00Z"
}