Discohook
    Discohook
    • Discohook API
    • Reference
    • Discohook CDN
    • Using Discohook as an external message designer or previewer
    • Changelog
    • Share Links
      • Create Share Link
        POST
      • Get Share Link
        GET
    • Link Preview
      • Unfurl URL Embed
        GET
    • GitHub
      • Execute GitHub-Compatible Webhook in Forum Channel
        POST
    • Schemas
      • Query Data
        • QueryDataMessage
        • QueryDataVersion
        • QueryData
        • QueryDataTarget
      • Discord
        • Components
          • APIButtonComponentBase
          • ComponentType
          • APIBaseComponent
          • APIMessageComponentEmoji
          • ButtonStyle
          • APIButtonComponentWithURL
          • APIButtonComponentWithCustomId
          • APIButtonComponent
          • APIMessageActionRowComponent
          • APIBaseSelectMenuComponent
          • APISelectMenuOption
          • APIStringSelectComponent
          • APIBaseAutoPopulatedSelectMenuComponent
        • APIEmbed
        • EmbedType

    Discohook API

    Here is some information detailing public API endpoints that you can utilize if you are developing for Discohook. I also have plans for an authenticated, token-based API, but that isn't available yet.
    NOTE
    You should provide a user agent for all requests.

    Authentication#

    As mentioned above, there is currently no way to create a bot token. The following is boilerplate and can be ignored for now.

    Generate a token#

    Permissions#

    CORS#

    Some endpoints are available cross-origin.
    Modified at 2025-04-11 18:24:38
    Next
    Reference
    Built with