DiscordLink API
Loading...
DiscordLink API
DiscordLink API
Local environment v1
ENDPOINTNot setRelay URL
AUTHENTICATIONNot configuredPairing code required
REQUESTS0Events received
01

Relay configuration

POST

Define the two services that will communicate with this relay.

The code and URL are generated automatically.

02

Connection settings

Waiting
PAIRING CODE— — — —
BASE URLhttps://api.discordlink.local/v1/relay/—
AUTHENTICATION HEADERAuthorization: Bearer —

Use these settings in your game requests.

03

Discord connection

Not connected

Forward game events to a Discord channel via a webhook.

In Discord: Channel settings → Integrations → Webhooks.
04

Test requests

LIVE LISTENING

Send a test event to verify the relay and observe the response.

Request log

Stored locally

    No requests. Configure the relay to start.

    05

    Integration example

    CURL

    Use this structure from your game or your server.

    curl -X POST \
      https://api.discordlink.local/v1/relay/— \
      -H "Authorization: Bearer —" \
      -H "Content-Type: application/json" \
      -d '{"event":"player_joined"}'