MCP Gateway
ApiSettings

Get notification settings

Get the current user's notification preferences. Creates default settings if none exist. This is an API-only endpoint for programmatic access — no frontend UI currently consumes it.

GET
/api/v1/settings/notifications

Authorization

User API Key
AuthorizationBearer <token>

User API key (mgw_usr_live_* or mgw_usr_test_*)

In: header

access_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/settings/notifications"
{
  "email_enabled": true,
  "webhook_url": "string",
  "webhook_enabled": true,
  "notify_on_server_error": true,
  "notify_on_token_expiry": true
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}