Discord bot
Use the store’s own bot (token and public key saved under Configure → Discord) in one of its servers
AuthorizationBearer <token>
API key from Settings → API keys
In: header
Path Parameters
storeId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/v1/stores/string/discord-bot/own" \ -H "Content-Type: application/json" \ -d '{ "guildId": "string" }'{ "available": true, "simulatedInstall": true, "ownBotReady": true, "brandingAllowed": true, "install": { "mode": "shared", "simulated": true, "guildId": "string", "guildName": "string", "installedAt": "string", "panelChannelId": "string", "supportChannelId": "string", "saleChannelId": "string", "saleAdminChannelId": "string", "adminChannelId": "string", "adminRoleId": "string", "supportRoleId": "string", "claimRoleId": "string", "saleFeed": true, "saleFeedSince": "string", "dmDelivery": true, "dmItems": true, "nick": "string", "avatar": "string", "brandingState": "none", "brandingError": "string", "panelPosted": true, "adminPanelPosted": true, "commandsAt": "string", "lastError": "string" }, "guild": { "ok": true, "message": "string", "channels": [ { "id": "string", "name": "string", "category": "string" } ], "roles": [ { "id": "string", "name": "string", "assignable": true } ] }, "claims": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "orderId": "b3e1eced-f2bd-4d8c-9765-fbc9d1d222d5", "orderNumber": -9007199254740991, "discordUserId": "string", "method": "order_email", "createdAt": "string" } ], "messages": [ { "key": "string", "name": "string", "description": "string", "customised": true } ]}