Skip to main content
POST
/
api
/
v1
/
appointments
curl -X POST "https://api.nevatal.com/api/v1/appointments" \
  -H "Authorization: Bearer nvtl_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "patientId": "pat_abc123",
    "doctorId": "usr_doctor456",
    "locationId": "loc_main",
    "procedureId": "proc_general_consult",
    "startTime": "2025-04-01T09:00:00-05:00",
    "endTime": "2025-04-01T09:30:00-05:00",
    "notes": "Initial consultation"
  }'
{
  "id": "apt_xyz789",
  "patientId": "pat_abc123",
  "doctorId": "usr_doctor456",
  "locationId": "loc_main",
  "procedureId": "proc_general_consult",
  "startTime": "2025-04-01T09:00:00-05:00",
  "endTime": "2025-04-01T09:30:00-05:00",
  "status": "confirmed",
  "notes": "Initial consultation",
  "createdAt": "2025-03-20T15:00:00Z"
}

Body Parameters

patientId
string
required
The patient ID
doctorId
string
required
The doctor/practitioner ID
locationId
string
required
The clinic location ID
procedureId
string
required
The clinical procedure ID
startTime
string
required
Start time in ISO 8601 format with timezone
endTime
string
required
End time in ISO 8601 format with timezone
notes
string
Optional notes for the appointment
curl -X POST "https://api.nevatal.com/api/v1/appointments" \
  -H "Authorization: Bearer nvtl_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "patientId": "pat_abc123",
    "doctorId": "usr_doctor456",
    "locationId": "loc_main",
    "procedureId": "proc_general_consult",
    "startTime": "2025-04-01T09:00:00-05:00",
    "endTime": "2025-04-01T09:30:00-05:00",
    "notes": "Initial consultation"
  }'
{
  "id": "apt_xyz789",
  "patientId": "pat_abc123",
  "doctorId": "usr_doctor456",
  "locationId": "loc_main",
  "procedureId": "proc_general_consult",
  "startTime": "2025-04-01T09:00:00-05:00",
  "endTime": "2025-04-01T09:30:00-05:00",
  "status": "confirmed",
  "notes": "Initial consultation",
  "createdAt": "2025-03-20T15:00:00Z"
}