POST
/
user
curl --request POST \
  --url https://v3.minestorecms.com/api/user \
  --header 'Authorization: Bearer <token>'
{
  "id": 1,
  "username": "John",
  "avatar": "https://mc-heads.net/body/John/150px",
  "system": "minecraft",
  "identificator": "John",
  "uuid": "e7e2a342-b204-4d9e-9e1f-6e1e4f1b029d",
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-02T00:00:00Z",
  "virtual_currency": 100.5
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200
application/json
User information retrieved successfully
id
integer
Example:

1

username
string
Example:

"John"

avatar
string
Example:

"https://mc-heads.net/body/John/150px"

system
string
Example:

"minecraft"

identificator
string
Example:

"John"

uuid
string
Example:

"e7e2a342-b204-4d9e-9e1f-6e1e4f1b029d"

created_at
string
Example:

"2024-01-01T00:00:00Z"

updated_at
string
Example:

"2024-01-02T00:00:00Z"

virtual_currency
number | null
Example:

100.5