Skip to main content

Bot Config

Base path: /api/data/bot-config

All bot config CRUD endpoints are registered but not yet implemented — handlers are empty stubs.

POST /api/data/bot-config

Create a new bot configuration record.

Auth: Session cookie required Tenant: Scoped via x-tenant-id header

Not yet implemented — returns no response.

Bot Config Schema Reference

FieldTypeRequiredDescription
tenantIdstringYesTenant identifier
guildIdstringYesDiscord guild/server ID
defaultOrderChannelIdstringNoDefault channel for order messages
announcementChannelIdstringNoChannel for announcements
adminRoleIdsstring[]NoDiscord role IDs with admin access (default [])
staffRoleIdsstring[]NoDiscord role IDs with staff access (default [])
responseModeenumNoEPHEMERAL (default) or DM
lowInventoryThresholdnumberNoInventory alert threshold (default 5)
enabledPaymentMethodsenum[]NoEnabled payment methods (default []). Values: PAYPAL, CASHAPP_PAY, BTC_INVOICE, VENMO_P2P, CASHAPP_P2P, ZELLE, CHIME, PAYPAL_MANUAL, BTC_MANUAL
paymentInstructionsstringNoGeneral payment instructions (default "")
paymentInstructionsByMethodobjectNoPer-method payment instructions (default {})
registeredDiscordUserIdsstring[]NoRegistered Discord user IDs (default [])
createdAtdateYesCreation timestamp
updatedAtdateYesLast update timestamp

GET /api/data/bot-config/:id

Retrieve a bot config by ID.

Auth: Session cookie required Tenant: Scoped via x-tenant-id header

Not yet implemented — returns no response.


PATCH /api/data/bot-config/:id

Update a bot config by ID.

Auth: Session cookie required Tenant: Scoped via x-tenant-id header

Not yet implemented — returns no response.


DELETE /api/data/bot-config/:id

Delete a bot config by ID.

Auth: Session cookie required Tenant: Scoped via x-tenant-id header

Not yet implemented — returns no response.