Skip to main content
 print this page

Get email alert subscription status

GET 

/alertpreferences

Returns the calling user's email-alert subscription status. Body is {"Message": "<status>"} where status is yes (subscribed), no (not subscribed / default when EmailSubscription is unset), or pending (SES verification in flight). When no SMTP mail server is enabled, GET may check SES identity verification and persist yes/pending back to the user record (not purely read-only). DynamoDB update failure returns GE-1020 (HTTP 400).

Request

Responses

Current subscription status in Message (yes, no, or pending).

Response Headers
    Access-Control-Allow-Origin
    Access-Control-Allow-Methods
    Access-Control-Allow-Headers