Get Characters

This endpoint allows you to retrieve all characters associated with a user account in the CAD.

This API endpoint requires the plus version of Sonoran CAD or higher. For more information, see our pricing page.

Get Characters

POST https://api.sonorancad.com/civilian/get_characters

This endpoint allows you to retrieve all characters associated with a user account in the CAD.

Request Body

NameTypeDescription

id

string

Your community's ID

key

string

Your community's API Key

type

string

GET_CHARACTERS

data

array

Array of character objects

// Array of custom record character objects
[]
{
    "id": "YOUR_COMMUNITY_ID",
    "key": "YOUR_API_KEY",
    "type": "GET_CHARACTERS",
    "data": [
        {
            "apiId": "STEAM:1234" // API ID, Typically, this is their STEAM Hex
        },
    ]
}

Result Ordering

The current/most recently selected character the user has set in the CAD will always be the first record in the list returned by this endpoint (index 0).

Record Formatting

Custom records require a strict format with several dozen different data fields. You can view a detailed explanation of custom record formatting.

Last updated