Skip to main content
POST
/
moscowroleplay
/
erlc
/
server
/
command
Send Command to ER:LC Server
curl --request POST \
  --url https://api.erlcrussia.xyz/v1/moscowroleplay/erlc/server/command \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "command": ":h Test API"
}
'
{
  "code": 5018,
  "message": "Endpoint устарел. Используйте более новую версию API."
}

Authorizations

Authorization
string
header
required

Standard API key for accessing ER:LC endpoints.

Passed in Authorization: Bearer <key> header.

REQUIRED FOR ALL ER:LC ENDPOINTS.

Body

application/json

Object with Command Text.

command
string
required
Example:

":h Test API"

Response

500 - application/json

Endpoint disabled/deprecated.

Standard error format.

code
integer
required

API error code.

Example:

5007

message
string
required

Error message/identifier.

Example:

"missing_token"