Clock In Out

This endpoint allows you to clock in/out a community account.

Clock In Out

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

Clock in/out a community account found by API ID or account ID.

Request Body

NameTypeDescription

id*

string

Community ID

key*

string

API Key

type*

string

CLOCK_IN_OUT

data*

array

Array of request objects

CLOCKED IN
FORCE CLOCKED IN
CLOCKED OUT
{
    "id": "YOUR_COMMUNITY_ID",
    "key": "YOUR_API_KEY",
    "type": "CLOCK_IN_OUT",
    "data": [
        {
            // User Identification
            "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
            // Configuration
            "forceClockIn": true // Optional - will start a new clock in replacing any current one
        }
    ]
}

Last updated