MCP Gateway
ApiSettings

Update notification settings

Update the current user's notification preferences. Supports partial updates - only provided fields are changed. This is an API-only endpoint for programmatic access — no frontend UI currently consumes it.

PUT
/api/v1/settings/notifications

Authorization

User API Key
AuthorizationBearer <token>

User API key (mgw_usr_live_* or mgw_usr_test_*)

In: header

access_token?|

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PUT "https://loading/api/v1/settings/notifications" \  -H "Content-Type: application/json" \  -d '{}'
{
  "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"
    }
  ]
}