Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.medera.info/llms.txt

Use this file to discover all available pages before exploring further.

POST /api/intake-calls

Create an intake call record. Triggers Vapi assistant creation with the patient-specific runtime config and subscription enforcement.

Request body

{
  "call_id": "call-abc-1716938400",
  "patient_id": "pat_abc",
  "phone_number": "+15555550100",
  "status": "initiated",
  "deployment_id": "dep_abc"
}

Response

{
  "id": "uuid-...",
  "patient_id": "pat_abc",
  "status": "initiated",
  "transcript": [],
  "tasks": [],
  "action_items": [],
  "created_at": "..."
}

Other endpoints

MethodPathPurpose
GET/api/intake-calls/activeList active calls
GET/api/intake-calls/completedCompleted calls (filters)
GET/api/intake-calls/allAll calls (paginated)
GET/api/intake-calls/stats/summaryDaily statistics
GET/api/intake-calls/queue/reviewReview queue
GET/api/intake-calls/search/transcriptsFull-text transcript search
PUT/api/intake-calls/{id}Update call
POST/api/intake-calls/{id}/reviewMark reviewed
POST/api/intake-calls/{id}/transcriptSave transcript chunk
POST/api/intake-calls/{id}/tasksSave tasks
POST/api/intake-calls/{id}/send-confirmationsSend email / SMS confirmations
POST/api/intake-calls/{id}/endEnd active call
GET/api/intake-calls/{id}/stateGet real-time state from AI Services
POST/api/intake-calls/analyze-behavioralBehavioral health analysis