PaidGoods
API referenceStorefront

Check the Discord bot token and list its servers and roles

POST
/v1/stores/{storeId}/storefront/settings/discord/test

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/stores/string/storefront/settings/discord/test"
{  "ok": true,  "simulated": true,  "message": "string",  "bot": {    "id": "string",    "name": "string"  },  "guilds": [    {      "id": "string",      "name": "string",      "roles": [        {          "id": "string",          "name": "string"        }      ]    }  ]}