> For the complete documentation index, see [llms.txt](https://docs.imperialcad.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.imperialcad.app/api-and-integrations/api-integrations/civilian-endpoints/create-character.md).

# Create Character

This endpoint allows you to create a character.

{% hint style="warning" %}
This endpoint requires **any** ImperialCAD subscription.
{% endhint %}

### CreateCharacter(data, callback)

<mark style="color:green;">`POST`</mark> `https://imperialcad.app/api/1.1/wf/createcharacter`

***

#### Request Body

| Name              | Type   | Description             |
| ----------------- | ------ | ----------------------- |
| `users_discordID` | string | Discord ID of user      |
| `Fname`           | string | First Name              |
| `Mname`           | string | Middle Name             |
| `Lname`           | string | Last Name               |
| `Birthdate`       | string | Date of Birth           |
| `gender`          | string | Gender                  |
| `race`            | string | Race                    |
| `hairC`           | string | Hair Color              |
| `eyeC`            | string | Eye Color               |
| `height`          | string | Height                  |
| `weight`          | string | Weight                  |
| `postal`          | string | Postal                  |
| `address`         | string | Street Name             |
| `city`            | string | City                    |
| `county`          | string | County                  |
| `phonenum`        | string | Phone Number            |
| `dlstatus`        | string | Driver's License Status |
| `citizenid`       | string | Unique Character ID     |

***

{% tabs %}
{% tab title="Example" %}

```lua
exports["ImperialCAD"]:NewCharacter({
    users_discordID = "123456789012345678",
    Fname = "John",
    Mname = "T",
    Lname = "Doe",
    Birthdate = "1995-03-21",
    gender = "Male",
    race = "White",
    hairC = "Black",
    eyeC = "Brown",
    height = "6'1",
    weight = "190",
    postal = "202",
    address = "124 Grove St",
    city = "Los Santos",
    county = "Los Santos",
    phonenum = "5553331234",
    dlstatus = "Valid",
    citizenid = "JD321"
}, function(success, res)
  if success then print("Civilian created!") else print("Failed:", res) end
end)
```

{% endtab %}

{% tab title="Response of Example" %}

```lua
{
  "status": "success",
  "response": {
    "ssn": 684699354,
    "DLN": "D78239341",
    "age": 30,
    "name": "John T Doe"
  }
}2
```

{% endtab %}
{% endtabs %}
