Get Account Ranks

This endpoint allows you to get a community account ranks.

Get Account Ranks

POST https://api.sonorancms.com/general/get_account_ranks

Get a Sonoran CMS community account's ranks by account ID, API ID, or username.

Request Body

Name
Type
Description

id*

string

Community ID

key*

string

API Key

type*

string

GET_COM_ACCOUNT

data*

array

Array of request objects

[
    "4298c76d-a1ee-46dc-b33c-8daf2e2280dd", // UUID of Rank
    ...
]
{
    "id": "YOUR_COMMUNITY_ID",
    "key": "YOUR_API_KEY",
    "type": "GET_ACCOUNT_RANKS",
    "data": [
        {
            "apiId": "SOME_API_ID", // Optional - must have one
            "username": "SOMEUSERNAME", // Optional - must have one
            "accId": "SOMEACCID", // Optional - must have one
            "discord": "111122223333444455", // Optional - must have one
            "uniqueId": 1234 // Optional - must have one
        }
    ]
}

Last updated