---
title: "Fix a support call with the patient"
method: POST
path: "/api/appointments/customer-care/support-calls"
tags: ["appointments"]
---

# Fix a support call with the patient

`POST /api/appointments/customer-care/support-calls`

## Request

- Base URL: `https://api.corabea.it` (the document declares no server; this is the origin it was published from)
- URL: `https://api.corabea.it/api/appointments/customer-care/support-calls`
- Auth: HTTP bearer

Book a SUPPORTO call on a customer-care slot, e.g. during the call conoscitiva or the previous support call. Without a reason it is the patient's next call of the chain; a call the automatic chain already queued is booked instead of duplicated.

## Request body

- CreateSupportCallTaskRequest
  - `patient_id` string, uuid, required
  - `availability_id` string, uuid, required: Customer-care slot fixed with the patient; its operator takes the call
  - `reason` 'PRIMA_CALL' | 'SECONDA_CALL' | 'TERZA_CALL' | 'QUARTA_CALL' | 'QUINTA_CALL' | 'SESTA_CALL': Position of a SUPPORTO call in its chain, stored in operator_call_tasks.metadata["reason"].

## Response `201`

Successful Response

- OperatorCallTaskResponse
  - `id` string, required
  - `type` string, required
  - `status` string, required
  - `patient_id` string, required
  - `assigned_operator_id` string, nullable
  - `appointment_id` string, nullable
  - `scheduled_for` string, date, required
  - `agreed_for` string, date-time, nullable: Date/time agreed with the patient. Null means DA_CONCORDARE.
  - `agreement_status` string, nullable: DA_CONCORDARE for SUPPORTO/EXTRA tasks
  - `days_without_agreed_date` integer, nullable: Days since the SUPPORTO/EXTRA task has been pending without an agreed date
  - `attempts_count` integer, required
  - `max_attempts` integer, required
  - `reschedule_stage` integer, nullable: Current stage in the FREE_RESCHEDULE interval sequence (0-based)
  - `reason` string, nullable: PRIMA_CALL/SECONDA_CALL/TERZA_CALL/QUARTA_CALL/QUINTA_CALL/SESTA_CALL for SUPPORTO, or dropout status/path reason for EXTRA
  - `metadata` object, nullable
  - `completed_at` string, date-time, nullable
  - `closed_at` string, date-time, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `patient` CustomerCarePatientSummary
    - `id` string, required
    - `user` CustomerCareUserSummary, required
      - `id` string, required
      - `first_name` string, nullable
      - `last_name` string, nullable
      - `email` string, nullable
      - `phone` string, nullable
    - `psi_status` string, nullable: Latest psychologist path status from patient_history.
    - `nutri_status` string, nullable: Latest nutritionist path status from patient_history.
    - `status_by_path` CustomerCarePatientStatusByPath
      - `psi` string, nullable
      - `nutri` string, nullable
  - `assigned_operator` CustomerCareOperatorSummary
    - `id` string, required
    - `user` CustomerCareUserSummary, required
      - `id` string, required
      - `first_name` string, nullable
      - `last_name` string, nullable
      - `email` string, nullable
      - `phone` string, nullable
  - `logs` OperatorCallTaskLogResponse[]
    - `id` string, required
    - `attempt_number` integer, required
    - `outcome` string, required
    - `note` string, nullable
    - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-05** `2a4daccec07c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/corabea/apis/corabea-api/changes/api/appointments/customer-care/support-calls/post.md)

---

[API](https://skmtc.dev/corabea/apis/corabea-api.md) · [All operations](https://skmtc.dev/corabea/apis/corabea-api/llms.txt) · [OpenAPI document](https://skmtc.dev/corabea/apis/corabea-api/revisions/d8cdee1d5474?raw)
