Weblutions Documentation > Product Documentation > Bot Portfolio > API Usage

API Usage

You can use the API built into Bot Portfolio to take advantage of automated statistic updating.

POST /api/:id

Updates the bot members and guild total displayed on the website.


Authorization [Header] the API secret set in the config file
serverCount [Query] the new server count to update to
memberCount [Query] the new member count to update to

Response: [Expand]

200 = {status: 200, content: "Updated bot stats"}
400 = {status: 400, content: "botId not found."}

Related Articles

Suggest an edit

Review this page


botportfolio api