API is in Alpha and may change at any time.

API Resources > Civilian

Get Civilian

This endpoint allows you to get a civilian.

Get Civilian

POST api/v1/civilian/get_civilian

Request Body

Name Type Description Default
civilian_id number Civilian ID. Required

Example Request Body

{
    "civilian_id": 123456789
}

Responses

200 A successful call.

{
    "success": true,
    "message": "",
    "data": [
        {
            "id": 296602760,
            "user_id": 188790560658685954,
            "first_name": "Jimmy",
            "last_name": "Johnson",
            "full_name": "Jimmy Johnson",
            "picture": "https://cdn.discordapp.com/attachments/...",
            "date_of_birth": "05/15/2000",
            "gender": "Male",
            "race": "White",
            "postal": 6031,
            "street": "Nikola Place",
            "city": "Elk Grove",
            "full_address": "6031 Nikola Place Elk Grove",
            "occupation": "Unknown",
            "height": "76",
            "weight": "145",
            "status": 1,
            "status_name": "Alive",
            "active_persona": 1,
            "created_at": "03/20/2024 18:12:07",
            "updated_at": "05/05/2024 21:22:08",
            "is_violent": 0,
            "is_weapon": 0,
            "is_ill": 0,
            "is_swat": 0,
            "is_ciu": 0,
            "is_warrant": 0
        }
    ]
}

200 with validation errors.

{
    "success": false,
    "message": "Validation errors",
    "data": {
        "civilian_id": [
            "The civilian id field is required.",
            "The civilian id must be a number."
        ]
    }
}

200 with no civilian found.

{
    "success": false,
    "message": "No civilian found.",
    "data": []
}

Still have questions?

Still have questions? Talk to support.