Betsy REST API

The Swagger Generated REST API Resources

Authentication

The REST API is currently only authenticatable using the JWT Token generated when logging in with Discord through the admin panel. You can find this key in your local storage for the website. Our JWT Tokens expire after 30 days.
In the future we will support additional authentication methods such as an API Key. We will make this a priority based on the amount of interest in this feature. So if you are interested in using this more efficiently please reach out.

OpenAPI Specs

Oops, something is missing.We could not find the original source to display this content.
post
/
delete
/Logout
get
/RefreshToken
get
/Discord/Test
post
/Discord/OAuth/ExchangeCode
post
/Discord/OAuth/RefreshToken
post
/DiscordAutoResponder
get
/DiscordAutoResponder/{id}
delete
/DiscordAutoResponder/{id}
patch
/DiscordAutoResponder/{id}
patch
/DiscordAutoResponder/{id}/ToggleActive
post
/DiscordAutoroleContainer
get
/DiscordAutoroleContainer/{id}
delete
/DiscordAutoroleContainer/{id}
patch
/DiscordAutoroleContainer/{id}
patch
/DiscordAutoroleContainer/{id}/ToggleActive
post
/DiscordChannelBackup
get
/DiscordChannelBackup/{id}
delete
/DiscordChannelBackup/{id}
patch
/DiscordChannelBackup/{id}
post
/DiscordChannelCleaner
delete
/DiscordChannelCleaner/{id}
patch
/DiscordChannelCleaner/{id}
post
/DiscordChannelCleaner/{id}/Clean
post
/DiscordChannelCleaner/Clean
get
/Discord/ApplicationCommand/{id}
delete
/Discord/ApplicationCommand/{id}
get
/Discord/ApplicationCommand
post
/Discord/ApplicationCommand
patch
/Discord/ApplicationCommand
get
/Discord/ApplicationCommand/Test
post
/Discord/ApplicationCommand/Test
get
/DiscordForm/Guild/{guildId}/Forms
post
/DiscordForm/Guild/{guildId}/Forms
patch
/DiscordForm/Guild/{guildId}/Forms
delete
/DiscordForm/{id}
get
/DiscordForm/Guild/{guildId}/Forms/{formId}
post
/DiscordGiveaway
get
/DiscordGiveaway/{id}
delete
/DiscordGiveaway/{id}
patch
/DiscordGiveaway/{id}
patch
/DiscordGiveaway/{id}/ToggleActive
post
/DiscordGuild
get
/DiscordGuild/{guildId}
patch
/DiscordGuild/{guildId}/GlobalSettings
patch
/DiscordGuild/{guildId}/ConfigurationOwner/{newOwnerDiscordId}
patch
/DiscordGuild/{guildId}/InviteSettings
patch
/DiscordGuild/{guildId}/ActivateCustomBot
post
/DiscordGuild/{guildId}/RegisterGlobalCommands/AI
post
/DiscordGuild/{guildId}/RegisterGlobalCommands/Giveaway
post
/DiscordGuild/{guildId}/RegisterGlobalCommands/Review
post
/DiscordGuild/{guildId}/RegisterGlobalCommands/KeyValue
post
/DiscordGuild/{guildId}/RegisterGlobalCommands/Payments
post
/DiscordGuild/{guildId}/RegisterGlobalCommands/Ticket
post
/DiscordGuild/{guildId}/RegisterGlobalCommands/Poll
post
/DiscordGuild/{guildId}/RegisterGlobalCommands/Channel
post
/DiscordGuild/{guildId}/RegisterGlobalCommands/Message
patch
/DiscordGuild/{guildId}/ReviewSettings
patch
/DiscordGuild/{guildId}/AutoRoles
patch
/DiscordGuild/{guildId}/ApiKeys
patch
/DiscordGuild/{guildId}/AuthorizedUsers
patch
/DiscordGuild/{guildId}/AuthorizedOwners
post
/DiscordGuild/{guildId}/Setup
get
/DiscordGuild/{guildId}/Commands
get
/DiscordGuild/{guildId}/Invites
get
/DiscordGuild/{guildId}/GuildUserInvites
get
/DiscordGuild/{guildId}/KeyValueCategories
get
/DiscordGuild/{guildId}/Channels
get
/DiscordGuild/{guildId}/Users
patch
/DiscordGuild/{guildId}/DiscordCommand/{commandId}/ToggleActive
patch
/DiscordGuild/{guildId}/SetAuditLogChannel
patch
/DiscordGuild/{guildId}/SetFeatures
post
/DiscordGuild/{guildId}/Channel/{channelId}/SendMessage
get
/DiscordGuild/{guildId}/SupportMessages
get
/DiscordGuild/{guildId}/WelcomeMessages
get
/DiscordGuild/{guildId}/DiscordMessages/{discordMessageId}
patch
/DiscordGuild/{guildId}/DiscordMessages/{discordMessageId}
get
/DiscordGuild/{guildId}/SupportTicketPanels
post
/DiscordGuild/{guildId}/SupportTickets
get
/DiscordGuild/{guildId}/TrackedMessages
post
/DiscordGuild/{guildId}/TrackedMessages
get
/DiscordGuild/{guildId}/TrackedMessages/{messageId}
get
/DiscordGuild/{guildId}/TwitchEventSubscriptions
post
/DiscordGuild/{guildId}/TwitchEventSubscriptions
delete
/DiscordGuild/{guildId}/TwitchEventSubscriptions/{id}
post
/DiscordGuild/PopulateNames
get
/DiscordGuild/{guildId}/SupportTickets/{settingsId}/Submissions
get
/DiscordGuild/{guildId}/SupportTickets/{settingsId}/Submissions/{supportTicketId}
get
/DiscordGuild/{guildId}/Resources/Messages
get
/DiscordGuild/{guildId}/DiscordChannelCleaners
get
/DiscordGuild/{guildId}/AutoRoleContainers
get
/DiscordGuild/{guildId}/AutoResponders
get
/DiscordGuild/{guildId}/Giveaways
get
/DiscordGuild/{guildId}/DiscordPolls
get
/DiscordGuild/{guildId}/DiscordThreadChannels
get
/DiscordGuild/{guildId}/RequiresLogin
post
/DiscordGuild/{guildId}/Verify/{userId}
post
/DiscordGuild/{newGuildId}/TransferFrom/{oldGuildId}
get
/DiscordGuild/{guildId}/AuditLogs
get
/DiscordGuild/{guildId}/DiscordChannelBackups
get
/DiscordGuild/{guildId}/DiscordReviews
get
/DiscordGuild/{guildId}/ImportTemplate
post
/DiscordGuild/{guildId}/ImportTemplate
post
/DiscordMessage
get
/DiscordMessage/{id}
delete
/DiscordMessage/{id}
patch
/DiscordMessage/{id}
patch
/DiscordMessage/{id}/ToggleActive
post
/DiscordPoll
get
/DiscordPoll/{id}
delete
/DiscordPoll/{id}
patch
/DiscordPoll/{id}
patch
/DiscordPoll/{id}/ToggleActive
get
/DiscordSupportTicket/{id}
patch
/DiscordSupportTicket/{id}/Close
get
/DiscordSupportTicket/{id}/Public
get
/DiscordSupportTicketSettings/{id}
delete
/DiscordSupportTicketSettings/{id}
patch
/DiscordSupportTicketSettings/{id}
patch
/DiscordSupportTicketSettings/{id}/CloseOpenTickets
post
/DiscordThreadChannel
get
/DiscordThreadChannel/{id}
delete
/DiscordThreadChannel/{id}
patch
/DiscordThreadChannel/{id}
patch
/DiscordThreadChannel/{id}/ToggleActive
delete
/DiscordTrackedMessage/{id}
patch
/DiscordTrackedMessage/{id}
patch
/DiscordTrackedMessage/{id}/Active
post
/KeyValueCategory
get
/KeyValueCategory/{id}
delete
/KeyValueCategory/{id}
patch
/KeyValueCategory/{id}
get
/TwitchEventSubscription
post
/User
post
/User/UpdatePassword
get
/User/Guilds
get
/User/DiscordUser
get
/User/Profile
post
/User/Verify