---
title: "Непросмотренный попап"
method: GET
path: "/popups/unseen"
tags: ["Попапы"]
---

# Непросмотренный попап

`GET /popups/unseen`

Возвращает последний активный непросмотренный попап для email и отмечает его просмотренным.

## Query parameters

- `app_id` integer
- `email` string, email, required

## Response `200`

Непросмотренный попап или null.

- object
  - `unseen` Popup, required
    - `id` integer, required — Цифровой идентификатор попапа.
    - `title` string, required — Заголовок попапа.
    - `message` string, required — Текст попапа.
    - `button` Button, required
      - `url` string, uri, required — URL кнопки.
      - `label` string, required — Текст кнопки.

## Other responses

- `400` — Неправильный запрос.
- `401` — Пользователь не авторизован или токен не передан.
- `403` — Доступ запрещен.
- `500` — Внутренняя ошибка сервера.

## Changes

- **2026-08-11** `50489dff6853` — 2 breaking
  - the `unseen` response's property type/format changed from ``/`` to `object`/`` for status `200`
  - the `unseen/allOf[#/components/schemas/Popup]/button` response's property type/format changed from ``/`` to `object`/`` for status `200`

[Change history](https://skmtc.dev/smartofood/apis/smartofood-control-api/changes/popups/unseen/get.md)

---

[API](https://skmtc.dev/smartofood/apis/smartofood-control-api.md) · [All operations](https://skmtc.dev/smartofood/apis/smartofood-control-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/smartofood/smartofood-control-api/revisions/50489dff6853/schema)
