Documentation

Quickstart

AdminUpdated Sep 20, 2026

Quickstart

From zero to your first authenticated request in about five minutes. We'll mint an API key, send a request that lists your servers, then show what to build next.

1. Sign in

Sign in at restorehub.net/login with Discord. You'll need at least one connected Discord server. The Free plan is enough to start — you can upgrade later.

2. Mint an API key

Open /dashboard/api-keys and click Create key. Pick the scopes you need — for this Quickstart, choose servers:read and account:read. The key starts with rh_ and is only shown once, so copy it immediately.

Scope tip. Start narrow. You can mint multiple keys for different uses (CI, scripts, agents) and revoke them independently. See Authentication for the full scope catalog.

3. Send your first request

Replace rh_YOUR_KEY below with the key you just minted, then run the request in your tool of choice.

curl

curl https://api.restorehub.net/api/v1/servers \
  -H "Authorization: Bearer rh_YOUR_KEY"

JavaScript

const res = await fetch("https://api.restorehub.net/api/v1/servers", {
  headers: { Authorization: "Bearer rh_YOUR_KEY" },
});
const { servers } = await res.json();
console.log(servers);

Python

import requests

r = requests.get(
    "https://api.restorehub.net/api/v1/servers",
    headers={"Authorization": "Bearer rh_YOUR_KEY"},
)
print(r.json()["servers"])

Lists every Discord server connected to your account.

You should get back JSON shaped roughly like:

{
  "servers": [
    {
      "id": "srv_abc123",
      "discordId": "123456789012345678",
      "name": "My Discord Community",
      "memberCount": 1842,
      "plan": "PRO",
      "createdAt": "2024-08-12T19:00:00.000Z"
    }
  ]
}

4. What's next

Pick the path that matches what you're building.

  • Browse every endpoint: API Reference — the full OpenAPI viewer with live "try it" requests.

  • Hand off workflows to AI: AI Agents — drop-in configs for Claude, Cursor, ChatGPT, and the Vercel AI SDK.

  • Use natural language with Claude / Cursor: MCP Server — point your MCP client at our hosted endpoint.

  • Understand error responses: Errors and Rate Limits.

Useful URLs

What

URL

REST API base

https://api.restorehub.net/api/v1

OpenAPI spec

https://api.restorehub.net/api/v1/openapi.json

Data model

https://api.restorehub.net/api/v1/public/schema.json

MCP server

https://mcp.restorehub.net/mcp

Agent playbook

https://restorehub.net/agents.md

Was this page helpful?