Create Character
This endpoint allows you to create a character.
This endpoint requires any ImperialCAD subscription.
CreateCharacter(data, callback)
POST 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
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){
"status": "success",
"response": {
"ssn": 684699354,
"DLN": "D78239341",
"age": 30,
"name": "John T Doe"
}
}2Last updated
Was this helpful?