Get Characters
Retrieve characters for a community user, linked Roblox user, linked Discord user, or account.
Query Parameters
Name
Type
Default
Description
Example Request
-- luarocks install sonoran.lua
-- For SonoranCADFiveM in-game usage, see the SonoranCADFiveM tab for the export-based client.
local Sonoran = require("sonoran")
local sonoran = Sonoran.createClient({
product = Sonoran.productEnums.CAD,
communityId = "YOUR_COMMUNITY_ID",
apiKey = "YOUR_API_KEY",
defaultServerId = 1
})
local response = sonoran.cad:getCharactersV2({
accountUuid = '00000000-0000-0000-0000-000000000000',
})
-- Inspect response.success, response.data, or response.reason as needed.
print(response.success)local response = exports["sonorancad"]:getCharactersV2({
accountUuid = '00000000-0000-0000-0000-000000000000',
})
-- Inspect response.success, response.data, or response.reason as needed.
print(response.success)const response = exports["sonorancad"].getCharactersV2({
accountUuid: "00000000-0000-0000-0000-000000000000",
});
console.log(response.success);Response
Last updated
Was this helpful?

