Modbot Docs
APIAPI referenceSettings

Set the email limit

PUT/api/settings/email/limit

Set the most emails sent in any 24 hours. At least 20. 20 of the limit are always kept for account email -- reset links, invite links, sign-in and security notices -- and other email may use only the rest. Email over its share is queued and sent when the 24 hours have room again.

Needs the ManageSettings permission.

AuthorizationBearer <token>

An API key, made on Settings, API keys. Every key starts with mbk_.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X PUT "https://example.com/api/settings/email/limit" \  -H "Content-Type: application/json" \  -d '{    "limitPer24Hours": 0  }'
{  "limitPer24Hours": 0,  "minimumLimit": 0,  "sentInLast24Hours": 0,  "queued": 0,  "failed": 0,  "nextSendAt": null,  "emails": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "to": "string",      "kind": "string",      "queuedAt": "2019-08-24T14:15:22Z",      "state": "string",      "attempts": 0,      "nextAttemptAt": null,      "error": null    }  ]}

Modbot is not endorsed by or affiliated with VRChat Inc. or Discord Inc. VRChat is a trademark of VRChat Inc. Discord is a trademark of Discord Inc. SteamVR is a trademark of Valve Corporation. Windows is a trademark of Microsoft Corporation. Docker is a trademark of Docker, Inc. PostgreSQL is a trademark of the PostgreSQL Community Association of Canada. Railway is a trademark of Railway Corp. Other names are trademarks of their respective owners; see Legal. Modbot and its logo are trademarks of the Modbot project. Open source under AGPL-3.0.