API is in Alpha and may change at any time.

API Resources > Emergency

Civilian Lookup

This endpoint allows you to search civilians.

Civilian Lookup

POST api/v1/emergency/civilian_lookup

Request Body

Both fields are "optional" but one or the other must be passed. If both are passed the SSN will take priority.

Name Type Description Default
name string Name. Expects "John Doe". Optional
ssn number SSN number (Civilian ID). Optional

Example Request Body

{
    "name": "John Doe",
    "ssn": 123456789
}

Responses

200 A successful call.

{
    "success": true,
    "message": "",
    "data": [
        {
            "id": 123456789,
            "user_id": 123456789123456789,
            "first_name": "John",
            "last_name": "Doe",
            "full_name": "John Doe",
            "picture": "https://cdn.discordapp.com/attachments/...",
            "date_of_birth": "07/18/1986",
            "gender": "Male",
            "race": "White",
            "postal": 123,
            "street": "Route 68",
            "city": "Sandy Shores",
            "full_address": "123 Route 68 Sandy Shores",
            "occupation": "Sheriff Deputy",
            "height": "72",
            "weight": "200",
            "status": 1,
            "status_name": "Alive",
            "active_persona": 0,
            "created_at": "01/15/2024 17:27:07",
            "updated_at": "01/22/2024 12:23:40",
            "is_violent": 0,
            "is_weapon": 0,
            "is_ill": 0,
            "is_swat": 0,
            "is_ciu": 0,
            "is_warrant": 0
        }
    ]
}

200 with error message if only one name was passed.

{
    "success": false,
    "message": "You must have both first name and last name.",
    "data": []
}

Still have questions?

Still have questions? Talk to support.