Developer Platform · 5 min read
REST API & Webhooks Integration
Integrate WilBot programmatically into your own websites, dashboards, and automated scripts.
- HTTP client (cURL, fetch, Python requests) and valid authorization header where required.
Architecture & Overview
The WilBot Web Platform exposes modern JSON REST APIs under `https://wilbot.link/api/` for developers building third-party integrations, custom dashboards, and automation scripts.
All endpoints support CORS, return standard HTTP status codes, and provide predictable error envelopes with detailed diagnostic messages.
Key Features & Capabilities
Step-by-Step Walkthrough
Query System Health & Uptime
Perform an unauthenticated GET request to inspect live system status.
curl -s https://wilbot.link/api/statusCompare AI models in chat
Open the comparison picker. The retired Arena API no longer accepts prompts.
https://wilbot.link/chat?compare=newInspect Guild Stats Programmatically
Fetch live stats for your server using your session token.
curl -s https://wilbot.link/api/guilds/1503910985524711476/stats \
-H "Cookie: wilbot_session=<YOUR_TOKEN>"Examples
GET /api/status Response Sample
JSON response returned by the status health endpoint.Illustrative output. Exact wording and layout in Discord differ.
Troubleshooting & Common Pitfalls
Frequently Asked Questions
Where do I obtain an API key?
Standard endpoints authenticate using Discord OAuth2 session cookies. Dedicated developer API keys can be generated in the Dashboard Developer tab.