---
updatedAt: 2025-09-10T21:01:00.000Z
agentTools:
  projectIndex: https://shipcars.readme.io/llms.txt
---

# Sets whether in-app notifications are enabled; returns the updated notification settings

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "User Management",
    "description": "Ship.Cars User Management",
    "contact": {
      "url": "https://ship.cars",
      "email": "support@ship.cars"
    },
    "version": "1.0.0"
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "oauth2",
        "flows": {
          "password": {
            "tokenUrl": "https://auth.ship.cars/auth/realms/master/protocol/openid-connect/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://ship.cars/api"
    }
  ],
  "paths": {
    "/notification-manager/v1/settings/in-app": {
      "put": {
        "tags": [
          "Notification Settings Controller"
        ],
        "summary": "Sets whether in-app notifications are enabled; returns the updated notification settings",
        "parameters": [
          {
            "name": "X-Context",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "boolean"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "in_app_enabled": {
                      "type": "boolean"
                    },
                    "email_enabled": {
                      "type": "boolean"
                    },
                    "notifications_snoozed": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "timestamp": {
                      "format": "date-time",
                      "type": "string",
                      "example": "2022-03-10T16:15:50Z"
                    },
                    "httpStatus": {
                      "format": "int32",
                      "type": "integer"
                    },
                    "errorCode": {
                      "format": "int32",
                      "type": "integer"
                    },
                    "errorMessage": {
                      "type": "string"
                    },
                    "errorDetails": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ]
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```