Get Current Clock In
This endpoint allows you to get the current clock in for a community account by account ID, API ID, Discord ID, Unique ID, or username.
Get Current Clock In
POST https://api.sonorancms.com/general/get_current_clock_in
Get a Sonoran CMS community account's current clock in by account ID, API ID, Discord ID, Unique ID, or username.
Request Body
Name
Type
Description
id*
string
Community ID
key*
string
API Key
type*
string
GET_COM_ACCOUNT
data*
object
Requst Data Object
{
  "id": 1,
  "startTime": "2025-02-22 20:28:40.000 -0800",
  "endTime": null,
  "completed": false,
  "notes": [];
}Not Clocked InINVALID API KEY
INVALID COMMUNITY ID
API ID NOT LINKED TO AN ACCOUNT IN THIS COMMUNITY
NO ACCOUNT FOUND UNDER GIVEN PARAMETERS IN THIS COMMUNITY{
    "id": "YOUR_COMMUNITY_ID",
    "key": "YOUR_API_KEY",
    "type": "GET_CURRENT_CLOCK_IN",
    "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?

