curl --request GET \
  --url https://votre-domaine.com/esx/citizens/{citizenid}
{
  "success": true,
  "data": {
    "identifier": "<string>",
    "firstname": "<string>",
    "lastname": "<string>",
    "dateofbirth": "2023-12-25",
    "sex": "m",
    "height": 123,
    "job": "<string>",
    "job_grade": 123,
    "group": "<string>",
    "accounts": {
      "money": 123,
      "bank": 123,
      "black_money": 123
    },
    "inventory": [
      {
        "name": "<string>",
        "count": 123,
        "slot": 123
      }
    ],
    "loadout": [
      {
        "name": "<string>",
        "ammo": 123
      }
    ],
    "metadata": {
      "health": 100,
      "armor": 50
    },
    "position": {
      "x": 123,
      "y": 123,
      "z": 123
    },
    "skin": {
      "model": "<string>",
      "eyeColor": 123,
      "hair": {
        "style": 123,
        "color": 123,
        "highlight": 123
      },
      "headBlend": {
        "shapeFirst": 123,
        "shapeSecond": 123,
        "shapeMix": 123,
        "skinFirst": 123,
        "skinSecond": 123,
        "skinMix": 123
      },
      "components": [
        {
          "component_id": 123,
          "drawable": 123,
          "texture": 123
        }
      ],
      "props": [
        {
          "prop_id": 123,
          "drawable": 123,
          "texture": 123
        }
      ],
      "headOverlays": {},
      "faceFeatures": {},
      "tattoos": [
        {}
      ]
    },
    "status": [
      {
        "name": "<string>",
        "val": 123,
        "percent": 50
      }
    ],
    "is_dead": true,
    "disabled": true,
    "last_property": "<string>",
    "phone_number": "<string>"
  }
}

Path Parameters

citizenid
string
required

ID unique du citoyen

Response

200
application/json

Citoyen trouvé

The response is of type object.