Getting Started

Welcome to the SpecterBot Custom API!
This platform allows developers to integrate seamlessly with our service.
Use your personalized subdomain at guest_user.specterbot.app to interact with your custom endpoints.
Please note that you need to sign in to verify your database connection with SpecterBot.

Key Features

  • Custom subdomains for users
  • Direct Access to your own database that Specter uses.
  • You can use database.php in your PHP files to auto-connect to your database.
    Example:
    <?php
    require '/var/www/specterbotapp/database.php';
    This provides two connection variables:
    • $conn — Your main channel database connection (always available).
    • $conn_module — Connection to your custom modules database ({username}_custom_modules), if it exists. This will be null if no custom module database has been created for your channel.

WebSocket Connection

Connect to the BotOfTheSpecter WebSocket server to receive real-time events such as channel point redemptions, subscriptions, and more.