Agent

Read operator notification preferences

get/agent/v1/notifications/preferences

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/agent/v1/notifications/preferences
  • Auth: API key in header SIGN-IN-WITH-X

Headers

SIGN-IN-WITH-Xstring required

SIWX auth header — base64-encoded JSON payload containing a signed CAIP-122 (EIP-4361) message. See https://docs.x402.org/extensions/sign-in-with-x.

Response

Current preferences (or documented defaults if no contact row)

webhook_urlstring nullable
webhook_signing_secret_configuredboolean

True if a secret exists. Plaintext is returned only by POST /agent/v1/webhook-secret/rotate, never read back.

digest_cadence'off' | 'daily' | 'weekly' | 'monthly'
digest_day_of_weekinteger

1=Mon..7=Sun

digest_hour_utcinteger
threshold_alerts'off' | 'digest_only' | 'immediate'
lifecycle_events'off' | 'critical_only' | 'all'
security_events'always'

Schema-enforced. Mandatory class — cannot be silenced.

localestring
timezonestring

Example response

{
  "locale": "en-US",
  "timezone": "UTC"
}

Changes

No recorded changes to this operation across all 1 revision of this API.