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"
}
Schedule a new 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"
}
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"
}