Object types
An object type is a schema: label, kind, field definitions, publishing mode, and routing helpers. List types on the website, then create or update a definition. Caps: 20 fields per type. Field type details live on the Object fields page.
Operations
GET
List object types for the website.
GET /api/v1/en/{websiteId}/objectsPOST
Create a type. Requires create_update_delete_object_types.
POST /api/v1/en/{websiteId}/objectsUse the following request body shape:
{
"label": "string",
"kind": "content | user",
"fieldSchema": [],
"slug": "string?",
"detailRouteParam": "string?",
"identifierFieldKey": "string?",
"publishingMode": "string?"
}GET | PATCH | DELETE definition
Read, replace fields on, or delete a type definition.
GET|PATCH|DELETE /api/v1/en/{websiteId}/objects/{objectTypeId}/definitionUse the following request body shape:
{
"label": "string?",
"fieldSchema": []?,
"slug": "string?",
"detailRouteParam": "string?",
"identifierFieldKey": "string?",
"publishingMode": "string?"
}MCP
MCP: list_object_types, get_object_type, create_object_type, update_object_type, delete_object_type.
Object fields
fieldSchema is an array of field definitions. Each field has a key, label, type, and type-specific options. See Object fields for every type and calculated expressions.
Schema caps
Schema caps per object type: at most 20 fields, 20 options on each enum field, and 10 lifecycle events.
Website roles
A website may use a user-kind type for members. Website roles and users are documented under Access.