# List actions

`GET /api/v1/actions`

Open work in one list: tasks, next actions of visits and trials, dated project steps. Use each row's `kind` + `id` with the complete / postpone endpoints.

## Query parameters

| Field | Type | Description |
|---|---|---|
| `scope` | string | `mine` = records I own (default for sales users), `all` = every record I can see (default for admins), or a user id. |
| `state` | string | Due state. Values: `today`, `overdue`, `soon`, `open`, `week` |
| `customer_id` | integer | Only this company. |

## Response

```json 200
{
  "counts": {
    "overdue": 9,
    "soon": 0,
    "today": 0
  },
  "ok": true,
  "rows": [
    {
      "customer": "Lotus Medikal Ambalaj San. Tic. Ltd. Şti.",
      "customer_id": 3,
      "date": "2026-09-26",
      "icon": "📋",
      "id": 1,
      "key": "task:1",
      "kind": "task",
      "label": "Numune sonucu için ara",
      "opp": "Yeni Müşteri · 2026",
      "opp_id": 33,
      "src": "Görev",
      "state": "overdue",
      "url": "/action/task/1"
    },
    {
      "customer": "Hanımeli Etiket San. Tic. Ltd. Şti.",
      "customer_id": 23,
      "date": "2026-09-26",
      "icon": "📋",
      "id": 17,
      "key": "task:17",
      "kind": "task",
      "label": "Fiyat listesini güncelleyip gönder",
      "opp": "Mevcut Müşteri — Yenileme · 2026",
      "opp_id": 23,
      "src": "Görev",
      "state": "overdue",
      "url": "/action/task/17"
    }
  ],
  "total": 9
}
```
