API Reference
Complete reference for the Relaya REST API. All endpoints use the base URL https://api.relaya.one/v1.
Request Format
All request bodies must be JSON. Set the Content-Type: application/json header for POST, PATCH, and PUT requests. Multipart uploads use multipart/form-data.
Response Format
All responses return JSON. Successful list endpoints include pagination metadata:
{
"data": [...],
"meta": {
"page": 1,
"limit": 20,
"total": 142,
"has_more": true
}
}Appointments
GET
/v1/appointmentsList appointments
POST
/v1/appointmentsCreate appointment
GET
/v1/appointments/:idGet appointment
PATCH
/v1/appointments/:idUpdate appointment
DELETE
/v1/appointments/:idCancel appointment
Patients
GET
/v1/patientsList patients
POST
/v1/patientsCreate patient
GET
/v1/patients/:idGet patient with history
PATCH
/v1/patients/:idUpdate patient
Voice AI
GET
/v1/voice/callsList calls
GET
/v1/voice/calls/:idGet call with transcript
POST
/v1/voice/calls/:id/transferTransfer active call
Scribe
POST
/v1/scribe/transcribeSubmit audio for transcription
GET
/v1/scribe/notes/:idGet generated note
POST
/v1/scribe/notes/:id/approveApprove clinical note
Webhooks
POST
/v1/webhooksRegister webhook
GET
/v1/webhooksList webhooks
DELETE
/v1/webhooks/:idRemove webhook