Skip to content
Get started

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 https://api.restorehub.net/api/v1/servers \
  -H "Authorization: Bearer rh_YOUR_KEY"
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

WhatURL
REST API basehttps://api.restorehub.net/api/v1
OpenAPI spechttps://api.restorehub.net/api/v1/openapi.json
Data modelhttps://api.restorehub.net/api/v1/public/schema.json
MCP serverhttps://mcp.restorehub.net/mcp
Agent playbookhttps://restorehub.net/agents.md
Quickstart — Restore Hub API | Restore Hub