---
title: "Check the expected state of a call notification"
method: GET
path: "/ocs/v2.php/apps/spreed/api/{apiVersion}/call/{token}/notification-state"
tags: ["call"]
---

# Check the expected state of a call notification

`GET /ocs/v2.php/apps/spreed/api/{apiVersion}/call/{token}/notification-state`

Required capability: `call-notification-state-api`

## Path parameters

- `apiVersion` 'v4', required
- `token` string, required

## Headers

- `OCS-APIRequest` boolean, required

## Response `200`

Notification should be kept alive

- object
  - `ocs` object, required
    - `meta` OCSMeta, required
      - `status` string, required
      - `statuscode` integer, required
      - `message` string
      - `totalitems` string
      - `itemsperpage` string
    - `data` unknown, required

## Other responses

- `201` — Dismiss call notification and show "Missed call"-notification instead
- `401` — Current user is not logged in
- `403` — Not logged in, try again with auth data sent
- `404` — Dismiss call notification

---

[API](https://skmtc.dev/nextcloud/apis/spreed-full.md) · [All operations](https://skmtc.dev/nextcloud/apis/spreed-full/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nextcloud/spreed-full/revisions/41d6458d6d6e/schema)
