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

# API Overview

> Dock API endpoints for account linking, alt detection, and verification.

The Dock API lets your backend read account links, manage link data, check alt-detection results, and create verification sessions.

<Info>
  The current public API uses the `/api/v1` route family.
</Info>

## Base URL

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

## Authentication

All protected v1 endpoints use Bearer authentication.

```http theme={null}
Authorization: Bearer YOUR_API_KEY
```

## Endpoint groups

<Columns cols={2}>
  <Card title="Lookups" icon="search">
    `GET /api/v1/public/discord-to-roblox` and `GET /api/v1/public/roblox-to-discord`.
  </Card>

  <Card title="Link management" icon="pencil">
    Update Discord IDs, update Roblox IDs, delete links, and reset custom data.
  </Card>

  <Card title="Alt detection" icon="shield">
    Premium endpoint for alternate account detection.
  </Card>

  <Card title="Verification sessions" icon="shield">
    Create PID sessions and wait for verification completion.
  </Card>
</Columns>

## Response style

v1 responses are route-specific. A successful lookup usually looks like this:

```json theme={null}
{
  "status": 200,
  "data": {
    "discordId": "123456789012345678",
    "robloxId": "156319135"
  },
  "timestamp": "2026-05-07T00:00:00.000Z",
  "version": "1.0.0",
  "requestsRemaining": 499,
  "ipRequestsRemaining": 499
}
```

Use the HTTP status code, `status`, and `error` fields to handle failures in your integration.
