Get Member Records
This endpoint allows you to get a member's disciplinary records
Get Member Records
POST
https://api.sonorancms.com/disciplinary/get_member_records
Get a Sonoran CMS community member's disciplinary records by member search fields.
Request Body
Name
Type
Description
id*
string
Community ID
key*
string
API Key
type*
string
GET_MEMBER_RECORDS
data*
object
Object
[
{
"id": "123",
"status": true,
"accId": "123",
"source": "user",
"sourceId": "123",
"points": 5,
"reason": "",
"metadata": {},
"history": [],
}
]
{
"id": "YOUR_COMMUNITY_ID",
"key": "YOUR_API_KEY",
"type": "GET_MEMBER_RECORDS",
"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
Was this helpful?