---
title: "Save notification preferences"
method: POST
path: "/v1/commands/save_notification_preferences"
tags: ["Projects and access"]
---

# Save notification preferences

`POST /v1/commands/save_notification_preferences`

## Request

- Base URL: `https://app.agentlinkops.com`
- URL: `https://app.agentlinkops.com/v1/commands/save_notification_preferences`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Shared command transport. All logical arguments in JSON; no query or Idempotency-Key header. See canonical operation reference.

## Headers

- `X-Workspace-ID` string

## Request body

- SaveNotificationPreferencesInput
  - `expectedRevision` integer, required: Previously read revision; mismatches reject concurrent updates.
  - `enabled` boolean, required
  - `email` string, email, required: Email address to bind an invitation to; AgentLinkOps does not send the invitation.
  - `frequency` 'immediate' | 'daily' | 'weekly', required
  - `timezone` string, required
  - `hour` integer, required
  - `weekday` integer, required
  - `categories` string[], required
  - `projectIds` string[], nullable, required: Accessible project IDs. Where nullable, null grants all projects.

## Response `200`

Command result, including queued admission.

- SaveNotificationPreferencesOutput
  - `revision` number, required: Optimistic concurrency revision; supply it as expectedRevision on the next write.
  - `email` string, required
  - `enabled` boolean, required
  - `frequency` 'immediate' | 'daily' | 'weekly', required
  - `timezone` string, required
  - `hour` number, required
  - `weekday` number, required
  - `categories` string[], required
  - `projectIds` string[], nullable, required
  - `suppressedReason` string, nullable, required: Provider bounce, complaint or suppression reason that stopped delivery; null when the recipient is deliverable.
  - `nextAt` string, nullable, required: UTC timestamp of the next scheduled summary; null while notifications are disabled.
  - `deliveryAvailable` boolean, required: True only when this environment has email delivery configured; saved preferences never imply delivery.

## Other responses

- `429`: Request-rate or usage refusal. Inspect error.code and recovery details before retrying.
- `default`: Error envelope. Non-configuration 5xx messages are masked and details omitted; allowlisted configuration errors retain static operator recovery.

---

[API](https://skmtc.dev/agentlinkops/apis/agentlinkops-http-api.md) · [All operations](https://skmtc.dev/agentlinkops/apis/agentlinkops-http-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agentlinkops/apis/agentlinkops-http-api/revisions/1bf30c2912b2?raw)
