API RELAY / V1
Connect a game to an application.
A simple gateway to send events from your game to your application.
OperationalReady to receive events
01
POSTRelay configuration
Define the two services that will communicate with this relay.
The code and URL are generated automatically.
02
WaitingConnection settings
PAIRING CODE— — — —
BASE URL
https://api.discordlink.local/v1/relay/—AUTHENTICATION HEADER
Authorization: Bearer —Use these settings in your game requests.
03
Not connected
Discord connection
Forward game events to a Discord channel via a webhook.
In Discord: Channel settings → Integrations → Webhooks.
04
LIVE LISTENINGTest requests
Send a test event to verify the relay and observe the response.
Request log
Stored locallyNo requests. Configure the relay to start.
05
CURLIntegration example
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"}'