---
title: "Create a notification snooze for a user"
method: POST
path: "/v6/notifications/{userId}/snoozes"
tags: ["User Notifications"]
---

# Create a notification snooze for a user

`POST /v6/notifications/{userId}/snoozes`

Creates a snooze rule that suppresses portal notifications matching the supplied tags for the Extole portal user identified by `userId` until the `expires_at` timestamp. Returns the newly created snooze with its assigned id.

## Path parameters

- `userId` string, required

## Request body

- SnoozeRequest
  - `comment` string, required
  - `expires_at` string, required — [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) or [RFC 9557](https://datatracker.ietf.org/doc/html/rfc9557#section-4) date-time with a numeric [UTC offset](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) and an optional [IANA time-zone](https://datatracker.ietf.org/doc/html/rfc9557#section-4) suffix in square brackets. Precision up to milliseconds.
  - `having_exactly_tags` string[], required

## Response `200`

Created notification snooze.

- SnoozeResponse
  - `comment` string, required
  - `expires_at` string, required — [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) or [RFC 9557](https://datatracker.ietf.org/doc/html/rfc9557#section-4) date-time with a numeric [UTC offset](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) and an optional [IANA time-zone](https://datatracker.ietf.org/doc/html/rfc9557#section-4) suffix in square brackets. Precision up to milliseconds.
  - `having_exactly_tags` string[], required
  - `snooze_id` string, required

## Other responses

- `400` — Snooze creation failed: `user_not_found` if the `userId` does not correspond to a known portal user; `invalid_user_id` if the `userId` is not valid; `missing_tags` if no notification tags were supplied; `invalid_expires_at` if the expiry timestamp is not valid.
- `401` — Unauthorized
- `402` — Payment Required
- `403` — Forbidden
- `415` — Unsupported Media Type
- `429` — Too Many Requests

---

[API](https://skmtc.net/extole/apis/integration-api-server-to-extole.md) · [All operations](https://skmtc.net/extole/apis/integration-api-server-to-extole/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/extole/integration-api-server-to-extole/versions/c16e62e66755/schema)
