Skip to main content
POST
/
v1
/
server
/
command
Run a command in-game as virtual server management
curl --request POST \
  --url https://api.erlc.gg/v1/server/command \
  --header 'Content-Type: application/json' \
  --header 'server-key: <api-key>' \
  --data '
{
  "command": ":h Hey everyone!"
}
'
{
  "message": "Success"
}

Documentation Index

Fetch the complete documentation index at: https://apidocs.erlc.gg/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

server-key
string
header
required

REQUIRED ON ALL REQUESTS. Get your server key at https://erlc.link/sk

Body

application/json

Command to be executed

command
string

The command to be executed

Example:

":h Hey everyone!"

Response

Command executed successfully

message
string

A message explaining the status of your command

Example:

"Success"