Skip to main content
GET
/
moscowroleplay
/
civops
/
users
Get User Data
curl --request GET \
  --url https://api.erlcrussia.xyz/v2/moscowroleplay/civops/users \
  --header 'Authorization: Bearer <token>'
{
  "userId": "1133665013794607114",
  "inventory": [
    {
      "name": "Элитный Класс",
      "amount": 1,
      "description": "Получите роль \"Элитный Класс\", чтобы продемонстрировать свое богатство."
    },
    {
      "name": "Петух",
      "amount": 5,
      "description": "Надежный петух, с помощью которого вы можете выиграть (или проиграть) петушиный бой."
    }
  ]
}

Authorizations

Authorization
string
header
required

API key for accessing CivOps endpoints.

Passed in the Authorization: Bearer <key> header.

REQUIRED FOR ALL CIVOPS ENDPOINTS (except /health).

Query Parameters

action
enum<string>
required

Action type for retrieving data.

Available options:
inventory,
transactions
userId
string

User ID (required).

limit
integer
default:15

Record limit for transactions.

page
integer
default:1

Page number for transactions.

Response

Successful response with user data.

The response is of type object.