Create a Class

Create a new class

post

Create a new class with specified details

Header parameters
X-API-KEYstringRequired

Your API key

X-SECRET-KEYstringRequired

Your Secret key

Body
app_idstringRequired
idstringRequired
class_namestringOptional
class_categorystringOptional
staff_namestringOptional
program_namestringOptional
datestring · dateRequired
start_timestring · timeRequired
end_timestring · timeOptional
Responses
200
Class created successfully
application/json
post
POST /v2/ExternalApi/newClass HTTP/1.1
Host: api.gleantap.com
X-API-KEY: text
X-SECRET-KEY: text
Content-Type: application/json
Accept: */*
Content-Length: 181

{
  "app_id": "text",
  "id": "text",
  "class_name": "text",
  "class_category": "text",
  "staff_name": "text",
  "program_name": "text",
  "date": "2025-07-05",
  "start_time": "22:39:59",
  "end_time": "22:39:59"
}
{
  "result": "success"
}

Last updated