Documentation menu

Developer API · resource

Event types

Bookable appointment templates (duration, working hours, capacity).

Scope event-types:read for reads · event-types:write for changes

Operations

GET/v1/event-typesList — see list
POST/v1/event-typesCreate — see create
GET/v1/event-types/{id}Read — see get
PATCH/v1/event-types/{id}Update — see update
DELETE/v1/event-types/{id}Delete — see delete
Minimal create
curl -X POST https://api2.djcsystem.com/v1/event-types \
  -H "Authorization: Bearer $DJC_TOKEN" -H "Content-Type: application/json" \
  -d '{ "name": "…", "duration": 0 }'

Fields

Fields you may send on create. Updatable marks fields accepted by PATCH. Anything not listed is server-owned or hidden.

FieldTypeOn createUpdatable
namestringrequiredyes
durationnumberrequiredyes
descriptionstringoptionalyes
isActivebooleanoptionalyes
colorstringoptionalyes
bufferTimenumberoptionalyes
locationTypeenum(in_person|phone|video)optionalyes
pricenumberoptionalyes
capacitynumberoptionalyes
timezonestringoptionalyes
workingHoursarray<object>optionalyes

Filters & sorting

FilterableisActive
Sortablenone — records come in id order
Default orderid order