Skip to main content
GET
/
v2
/
notifications
/
email
Get Email Settings
curl --request GET \
  --url https://api.tusky.io/v2/notifications/email
{
  "enabled": true,
  "email": "<string>",
  "events": [
    {}
  ]
}
Retrieve email notification settings.

Response

enabled
boolean
Whether email notifications are enabled.
email
string
Destination email address.
events
array
Enabled event types. See events reference.

Event Types

EventDescription
files.expiringFiles approaching storage epoch expiration
balance.lowPrepaid balance below configured threshold
bandwidth.limit_approachingBandwidth usage nearing plan limit (80%)
bandwidth.limit_reachedBandwidth limit reached
transactions.limit_approachingTransaction count nearing plan limit (80%)
transactions.limit_reachedTransaction limit reached

Example

curl https://api.tusky.io/v2/notifications/email \
  -H "Api-Key: YOUR_API_KEY"

Response

{
  "enabled": true,
  "email": "alerts@example.com",
  "events": ["files.expiring", "balance.low", "bandwidth.limit_approaching"]
}