> ## Documentation Index
> Fetch the complete documentation index at: https://docksystems.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Welcome to Dock

> Build Discord to Roblox verification, account linking, alt detection, and server automation with Dock.

Dock helps Discord communities connect members to Roblox accounts, keep server roles accurate, and build safer moderation workflows.

> [!NOTE]
>
> Use the Dock API to look up verified Roblox and Discord account links from your backend. Keep API keys private and send requests from trusted server-side code.

## What you can build

> **Account linking**
>
> Look up Discord to Roblox and Roblox to Discord mappings from your own backend.

> **Verification flows**
>
> Create verification sessions, redirect users to Dock, and read completion by polling or SSE.

> **Alt detection**
>
> Use Premium detection endpoints to review possible alternate accounts and risk signals.

> **Bot configuration**
>
> Configure verification, welcome, permissions, and group binding settings from Discord with `/config`.

## Base URL

```text theme={null}
https://api.docksys.xyz
```

Use relative endpoint paths from the docs with this base URL. For example, `GET /api/v1/public/discord-to-roblox` becomes:

```text theme={null}
https://api.docksys.xyz/api/v1/public/discord-to-roblox
```

## Quick start

**1. Create an API key**

Sign in to Dock, create an API key for your server, and store the key on your backend.

**2. Authenticate requests**

Send the key with `Authorization: Bearer YOUR_API_KEY`. Never ship API keys in browser code, public repositories, or client-side apps.

**3. Make your first lookup**

Use `/api/v1/public/discord-to-roblox` for Discord to Roblox lookups and `/api/v1/public/roblox-to-discord` for Roblox to Discord lookups.

**4. Handle limits and errors**

Read `X-RateLimit-*` headers and `Retry-After` so your integration can back off cleanly.

## First request

```bash cURL theme={null}
curl --request GET \
  --url "https://api.docksys.xyz/api/v1/public/discord-to-roblox?discordId=123456789012345678&guildId=987654321098765432" \
  --header "Authorization: Bearer YOUR_API_KEY"
```

```javascript JavaScript theme={null}
const response = await fetch(
  "https://api.docksys.xyz/api/v1/public/discord-to-roblox?discordId=123456789012345678&guildId=987654321098765432",
  {
    headers: {
      Authorization: `Bearer ${process.env.DOCK_API_KEY}`,
    },
  },
);

const payload = await response.json();
```

```python Python theme={null}
import os
import requests

response = requests.get(
    "https://api.docksys.xyz/api/v1/public/discord-to-roblox",
    params={
        "discordId": "123456789012345678",
        "guildId": "987654321098765432",
    },
    headers={"Authorization": f"Bearer {os.environ['DOCK_API_KEY']}"},
)

payload = response.json()
```

## Recommended next pages

> **[Authentication](https://docksystems.mintlify.site/api/authentication.md)**
>
> Learn how API keys work and how to keep them safe.

> **API Reference**
>
> Review available API endpoints, parameters, and responses.

> **[Bot config](https://docksystems.mintlify.site/bot/config-command.md)**
>
> Learn how to configure Dock from Discord with `/config`.

> [!NOTE]
>
> By using Dock, you agree to the [Terms of Service](https://docksys.xyz/terms) and acknowledge the [Privacy Policy](https://docksys.xyz/privacy).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.