Modbot Docs
APIAPI referenceSettings

Get supporter settings

GET/api/settings/supporters

Whether Ko-fi and Patreon are on, whether a verification token or a Patreon webhook secret is saved (never the token or the secret), how many days after the paid month ends each site's supporters lose the roles (-1 is never), the thank-you message and the addresses to give Ko-fi and Patreon.

Needs the ManageSettings permission.

AuthorizationBearer <token>

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

In: header

Response Body

application/json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/settings/supporters"
{  "kofiOn": true,  "tokenStored": true,  "thanksText": "string",  "webhookAddress": null,  "mostThanksLength": 0,  "patreonOn": true,  "patreonSecretStored": true,  "patreonWebhookAddress": null,  "kofiRolesOffDays": 0,  "patreonRolesOffDays": 0,  "mostRolesOffDays": 0,  "patreonClientIdStored": true,  "patreonClientSecretStored": true,  "patreonAccessTokenStored": true,  "patreonRefreshTokenStored": true,  "patreonCatchUpAt": null,  "patreonCatchUpProblem": 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.