> ## 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

## `POST /api/intake-calls`

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

### Request body

```json theme={"system"}
{ "call_id": "call-abc-1716938400", "patient_id": "pat_abc", "phone_number": "+15555550100", "status": "initiated", "deployment_id": "dep_abc"
}

```

### Response

```json theme={"system"}
{ "id": "uuid-...", "patient_id": "pat_abc", "status": "initiated", "transcript": [], "tasks": [], "action_items": [], "created_at": "..."
}

```

### Other endpoints

| Method | Path                                        | Purpose                              |
| :----- | :------------------------------------------ | :----------------------------------- |
| GET    | `/api/intake-calls/active`                  | List active calls                    |
| GET    | `/api/intake-calls/completed`               | Completed calls (filters)            |
| GET    | `/api/intake-calls/all`                     | All calls (paginated)                |
| GET    | `/api/intake-calls/stats/summary`           | Daily statistics                     |
| GET    | `/api/intake-calls/queue/review`            | Review queue                         |
| GET    | `/api/intake-calls/search/transcripts`      | Full-text transcript search          |
| PUT    | `/api/intake-calls/{id}`                    | Update call                          |
| POST   | `/api/intake-calls/{id}/review`             | Mark reviewed                        |
| POST   | `/api/intake-calls/{id}/transcript`         | Save transcript chunk                |
| POST   | `/api/intake-calls/{id}/tasks`              | Save tasks                           |
| POST   | `/api/intake-calls/{id}/send-confirmations` | Send email / SMS confirmations       |
| POST   | `/api/intake-calls/{id}/end`                | End active call                      |
| GET    | `/api/intake-calls/{id}/state`              | Get real-time state from AI Services |
| POST   | `/api/intake-calls/analyze-behavioral`      | Behavioral health analysis           |
