For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Character

This endpoint allows you to get a character's information.

GetCharacter(data, callback)

GET https://imperialcad.app/api/1.1/wf/getcharacter


Parameters

Name
Type
Description

charid

string

Citizen ID

communityid

string

Your Community ID


exports["ImperialCAD"]:GetCharacter("JD321", "myCommIdHere", function(success, data)
  if success then print(json.encode(data)) else print("Failed:", data) end
end)
{
  "status": "success",
  "response": {
    "charid": "JD321",
    "name": "Jane A Smith",
    "ssn": "123456789",
    "age": "35",
    "address": "000 No Where Rd"
  }
}

Last updated