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

Get Characters

This endpoint allows you to get a list of character's belonging to a user.

GetCharacters(data, callback)

POST https://imperialcad.app/api/1.1/wf/getCharacters


Request Body

Name
Type
Description

commId

string

Your Community ID

users_discordID

string

Target users discord ID

page

number

Desired page


exports["ImperialCAD"]:GetCharacters({
   "commId": "1717397682352x288894453408083100",
   "users_discordID": "123456789012345678",
   "page": 1
  }, function(success, data)
    if success then print(json.encode(data)) else print("Failed:", data) end
end)
{
  "status": "success",
  "page": 1,
  "has_next_page": false,
  "data": [
    {
      "name": "Jon  Doe",
      "ssn": "614838274",
      "dob": "1/01/00"
    },
    {
      "name": "Johnny Doe",
      "ssn": "230516067",
      "dob": "1/01/00"
    },
    {
      "name": "Billy Doe",
      "ssn": "448398182",
      "dob": "1/01/00"
    }
  ]
}

Last updated