# listAppointmentReminders

The organization's appointment reminders: each with its `steps` (one SMS each, its message and amountBefore + unitBefore lead time, longest lead first) and isGlobal (true on the flagged default). The org DEFAULT reminder ("Run for every appointment") is attached automatically to booking-page and AI-employee bookings and preselected in the app's appointment form; NOT to appointments created through this API (pass its id as appointmentReminderWorkflowGroupId on createAppointment) nor to existing ones (updateAppointment attaches it). With none flagged and exactly ONE reminder, that one is the default anyway. Attach one by passing its id as appointmentReminderWorkflowGroupId to createAppointment/updateAppointment (the responses echo it under that name).

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "listAppointmentReminders", "variables": {...} }`
- Scope: `READ`
- Type: query
- Idempotency: a read; rejects `Idempotency-Key`
- Rate-limited: no

## Variables

None.

## Response (data, an example)

```json
{
  "appointmentReminderQuery": {
    "listAppointmentReminders": [
      {
        "id": "<ID>",
        "steps": [
          {
            "message": "…",
            "amountBefore": 0,
            "unitBefore": "MINUTES"
          }
        ],
        "isGlobal": true,
        "createdAt": "2026-01-01T00:00:00.000Z"
      }
    ]
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "operationId": "listAppointmentReminders",
    "variables": {}
  }'
```
